Commit:     a9ac2c755a23ba01fe30810d34665f9d5dffc92f

Trac URL:   
http://developer.wz2100.net/changeset/a9ac2c755a23ba01fe30810d34665f9d5dffc92f

Author:     Cyp <[email protected]>
Date:       Sat Oct 23 23:30:36 2010 +0200

Fix some droids not going to rally points.

The droids were getting DORDER_GUARD messages after getting the DORDER_MOVE.

 src/order.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/order.c b/src/order.c
index e4f578e..56942ce 100644
--- a/src/order.c
+++ b/src/order.c
@@ -361,7 +361,9 @@ void orderUpdateDroid(DROID *psDroid)
                         secondaryGetState(psDroid, DSO_HALTTYPE) == 
DSS_HALT_GUARD &&
                         !isVtolDroid(psDroid))
                {
+                       turnOffMultiMsg(true);
                        orderDroidLoc(psDroid, DORDER_GUARD, psDroid->pos.x, 
psDroid->pos.y);
+                       turnOffMultiMsg(false);
                }
 
                break;


-------------------------


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to