Remove DORDER_TEMP_HOLD from the list of location-type orders, because it's not a location-type order. Fixes the problem of TEMP_HOLD not working in trunk.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9232 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
d9e59c6971
commit
a2bcabeb13
|
@ -2163,7 +2163,7 @@ BOOL validOrderForLoc(DROID_ORDER order)
|
|||
order == DORDER_SCOUT || order == DORDER_RUN || order == DORDER_PATROL ||
|
||||
order == DORDER_TRANSPORTOUT || order == DORDER_TRANSPORTIN ||
|
||||
order == DORDER_TRANSPORTRETURN || order == DORDER_DISEMBARK ||
|
||||
order == DORDER_CIRCLE || order == DORDER_TEMP_HOLD);
|
||||
order == DORDER_CIRCLE);
|
||||
}
|
||||
|
||||
/* Give a droid an order with a location target */
|
||||
|
|
Loading…
Reference in New Issue