Refactored "generic" order to just call it "contact action", and added support for intercepting targets if performing a contact action while moving.

This was SVN commit r6290.
This commit is contained in:
Matei
2008-07-29 08:22:56 +00:00
parent 0e8b7c5bc7
commit 98dd1a1bb4
22 changed files with 176 additions and 415 deletions
+1 -1
View File
@@ -302,7 +302,7 @@ bool CEntity::Order( JSContext* cx, uintN argc, jsval* argv, CEntityOrder::EOrde
}
}
break;
case CEntityOrder::ORDER_GENERIC:
case CEntityOrder::ORDER_CONTACT_ACTION:
JSU_REQUIRE_PARAMS_CPP(4);
target = ToNative<CEntity>( argv[1] );
if( !target )