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:
Scott Ehlert 2006-04-17 22:29:18 +00:00
parent 4101eea5e8
commit a265189efa

View File

@ -151,7 +151,7 @@ native remove_entity(iIndex);
native entity_count(); native entity_count();
/* Simulate two entities colliding/touching. */ /* Simulate two entities colliding/touching. */
native fake_touch(iToucher, iTouched); native fake_touch(iTouched, iToucher);
/* 2 formats. /* 2 formats.
Format: DispatchKeyValue("KeyName","Value") - sets keyvalues for the entity specified in the keyvalue() forward. 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. */ /* Called when 2 entities touch. */
forward pfn_touch(ptr, ptd); forward pfn_touch(iTouched, iToucher);
/* Called once every server frame. May cause lag. */ /* Called once every server frame. May cause lag. */
forward server_frame(); forward server_frame();