Modified param names for touch native and forward to correct values... makes it more clear to someone looking at it
This commit is contained in:
parent
4101eea5e8
commit
a265189efa
|
@ -151,7 +151,7 @@ native remove_entity(iIndex);
|
|||
native entity_count();
|
||||
|
||||
/* Simulate two entities colliding/touching. */
|
||||
native fake_touch(iToucher, iTouched);
|
||||
native fake_touch(iTouched, iToucher);
|
||||
|
||||
/* 2 formats.
|
||||
Format: DispatchKeyValue("KeyName","Value") - sets keyvalues for the entity specified in the keyvalue() forward.
|
||||
|
@ -235,7 +235,7 @@ native eng_get_string(_string, _returnString[], _len);
|
|||
**********/
|
||||
|
||||
/* Called when 2 entities touch. */
|
||||
forward pfn_touch(ptr, ptd);
|
||||
forward pfn_touch(iTouched, iToucher);
|
||||
|
||||
/* Called once every server frame. May cause lag. */
|
||||
forward server_frame();
|
||||
|
|
Loading…
Reference in New Issue
Block a user