Make the SP transport refusal of orders a bit more graceful.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8857 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
6a059fc8f8
commit
a9e10388ab
|
@ -2740,11 +2740,11 @@ void orderSelectedLocAdd(UDWORD player, UDWORD x, UDWORD y, BOOL add)
|
|||
if (psCurr->selected)
|
||||
{
|
||||
// can't use bMultiPlayer since multimsg could be off.
|
||||
if (psCurr->droidType == DROID_TRANSPORTER && game.type != SKIRMISH)
|
||||
if (psCurr->droidType == DROID_TRANSPORTER && game.type == CAMPAIGN)
|
||||
{
|
||||
// Never, ever, let users mess with the SP Trasnsporter
|
||||
// it is script controlled, and will break things!
|
||||
break;
|
||||
// Transport in campaign cannot be controlled by players
|
||||
DeSelectDroid(psCurr);
|
||||
continue;
|
||||
}
|
||||
|
||||
order = chooseOrderLoc(psCurr, x, y);
|
||||
|
|
Loading…
Reference in New Issue