[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/action command.c
From: |
Russell Smith |
Subject: |
[Stratagus-CVS] stratagus/src/action command.c |
Date: |
Sun, 26 Oct 2003 06:06:22 -0500 |
CVSROOT: /cvsroot/stratagus
Module name: stratagus
Branch:
Changes by: Russell Smith <address@hidden> 03/10/26 06:06:22
Modified files:
src/action : command.c
Log message:
Fixed Bug Where builder outside did not move out of the way of the
building they were building
Patches:
Index: stratagus/src/action/command.c
diff -u stratagus/src/action/command.c:1.111
stratagus/src/action/command.c:1.112
--- stratagus/src/action/command.c:1.111 Thu Oct 23 21:58:33 2003
+++ stratagus/src/action/command.c Sun Oct 26 06:06:21 2003
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: command.c,v 1.111 2003/10/24 01:58:33 n0body Exp $
+// $Id: command.c,v 1.112 2003/10/26 11:06:21 mr-russ Exp $
//@{
@@ -679,6 +679,11 @@
order->Range = 1;
}
order->Type = what;
+ if (what->BuilderOutside) {
+ order->MinRange = 1;
+ } else {
+ order->MinRange = 0;
+ }
order->Arg1 = NULL;
}
ClearSavedAction(unit);