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-861f7616d084
master
Guangcong Luo 2010-01-14 21:58:32 +00:00 committed by Git SVN Gateway
parent d9e59c6971
commit a2bcabeb13
1 changed files with 1 additions and 1 deletions

View File

@ -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 */