mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-13 23:35:19 +00:00
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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user