Fix bug that made it impossible to order more than one transport at a time.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8855 4a71c877-e1ca-e34f-864e-861f7616d084
master
Guangcong Luo 2009-12-29 07:36:09 +00:00 committed by Git SVN Gateway
parent aa891ea7e4
commit 6a059fc8f8
1 changed files with 2 additions and 1 deletions

View File

@ -2739,7 +2739,8 @@ void orderSelectedLocAdd(UDWORD player, UDWORD x, UDWORD y, BOOL add)
{
if (psCurr->selected)
{
if (psCurr->droidType == DROID_TRANSPORTER && !bMultiPlayer)
// can't use bMultiPlayer since multimsg could be off.
if (psCurr->droidType == DROID_TRANSPORTER && game.type != SKIRMISH)
{
// Never, ever, let users mess with the SP Trasnsporter
// it is script controlled, and will break things!