Accept DORDER_NONE as a valid order to the orderDroid script function, needed for the BecomePrey AI. (committed for Buginator)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6823 4a71c877-e1ca-e34f-864e-861f7616d084
master
Gerard Krol 2009-03-09 17:15:44 +00:00
parent 571d7e0329
commit 21011fd176
1 changed files with 3 additions and 2 deletions

View File

@ -508,10 +508,11 @@ BOOL scrOrderDroid(void)
order != DORDER_DESTRUCT &&
order != DORDER_RTR &&
order != DORDER_RTB &&
order != DORDER_RUN)
order != DORDER_RUN &&
order != DORDER_NONE )
{
ASSERT( false,
"scrOrderUnit: Invalid order" );
"scrOrderUnit: Invalid order %d", order );
return false;
}