- removed a scripting function that is no longer used
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2499 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
5a5d16a8a4
commit
46b2ee2b52
|
@ -11455,28 +11455,3 @@ BOOL scrGetDroidLevel(void)
|
|||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns true if droid is not moving
|
||||
*/
|
||||
BOOL scrMoveDroidStopped(void)
|
||||
{
|
||||
DROID *psDroid;
|
||||
|
||||
if (!stackPopParams(1, ST_DROID, &psDroid))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
ASSERT(psDroid != NULL,
|
||||
"scrMoveDroidStopped: null-pointer passed");
|
||||
|
||||
scrFunctionResult.v.bval = moveDroidStopped(psDroid, 0);
|
||||
if (!stackPushResult(VAL_BOOL, &scrFunctionResult))
|
||||
{
|
||||
debug(LOG_ERROR, "scrMoveDroidStopped(): failed to push result");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue