Fix bug #1418 - transports can be controlled sometimes.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9298 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
ffa10c5113
commit
ada08d0040
|
@ -2690,6 +2690,12 @@ DROID_ORDER chooseOrderLoc(DROID *psDroid, UDWORD x,UDWORD y)
|
|||
DROID_ORDER order = DORDER_NONE;
|
||||
PROPULSION_TYPE propulsion = getPropulsionStats(psDroid)->propulsionType;
|
||||
|
||||
if (psCurr->droidType == DROID_TRANSPORTER && game.type == CAMPAIGN)
|
||||
{
|
||||
// transports can't be controlled in campaign
|
||||
return DORDER_NONE;
|
||||
}
|
||||
|
||||
// default to move; however, we can only end up on a tile
|
||||
// where can stay, ie VTOLs must be able to land as well
|
||||
if (isVtolDroid(psDroid))
|
||||
|
|
Loading…
Reference in New Issue