forked from mirrors/0ad
- Linux/GCC (as usual :P)
- Ported lockless code to gcc inline assembly - A few new net messages (gather, attack, add waypoint) - Support for new messages in network->entity order converter - Implemented rudimentary JS interface for Interaction - issueCommand JS API, connected to the network - Removed Interaction stuff now replaced by JS - And something in there should probably break VS builds :P This was SVN commit r2316.
This commit is contained in:
@@ -94,7 +94,7 @@ bool CScriptObject::Run( JSObject* Context, jsval* rval, uintN argc, jsval* argv
|
||||
bool CScriptObject::Run( JSObject* Context, uintN argc, jsval* argv )
|
||||
{
|
||||
jsval Temp;
|
||||
if( !Run( Context, &Temp ) )
|
||||
if( !Run( Context, &Temp, argc, argv ) )
|
||||
return( false );
|
||||
return( g_ScriptingHost.ValueToBool( Temp ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user