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-861f7616d084master
parent
571d7e0329
commit
21011fd176
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue