frontport r8666
"Never, ever, let users mess with the SP Transporter. It breaks the SP scripts!" git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8733 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
5a2509a26d
commit
87802afa73
|
@ -2739,6 +2739,13 @@ void orderSelectedLocAdd(UDWORD player, UDWORD x, UDWORD y, BOOL add)
|
|||
{
|
||||
if (psCurr->selected)
|
||||
{
|
||||
if (psCurr->droidType == DROID_TRANSPORTER && !bMultiPlayer)
|
||||
{
|
||||
// Never, ever, let users mess with the SP Trasnsporter
|
||||
// it is script controlled, and will break things!
|
||||
break;
|
||||
}
|
||||
|
||||
order = chooseOrderLoc(psCurr, x, y);
|
||||
// see if the order can be added to the list
|
||||
if (order != DORDER_NONE && !(add && orderDroidLocAdd(psCurr, order, x, y)))
|
||||
|
|
Loading…
Reference in New Issue