[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/unit script_unit.c
From: |
address@hidden |
Subject: |
[Stratagus-CVS] stratagus/src/unit script_unit.c |
Date: |
29 Jan 2004 19:30:55 +1100 |
CVSROOT: /home/strat
Module name: stratagus
Changes by: <address@hidden> 04/01/29 19:30:54
Modified files:
src/unit : script_unit.c
Log message:
Fixed Bug setting incorrect goal in loading an order
Patches:
Index: stratagus/src/unit/script_unit.c
diff -u stratagus/src/unit/script_unit.c:1.98
stratagus/src/unit/script_unit.c:1.99
--- stratagus/src/unit/script_unit.c:1.98 Sun Jan 25 16:51:45 2004
+++ stratagus/src/unit/script_unit.c Thu Jan 29 19:30:54 2004
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: script_unit.c,v 1.98 2004/01/25 05:51:45 wizzard Exp $
+// $Id: script_unit.c,v 1.99 2004/01/29 08:30:54 wizzard Exp $
//@{
@@ -252,7 +252,7 @@
int slot;
++j;
- lua_rawgeti(l, -1, 1);
+ lua_rawgeti(l, -1, j + 1);
value = LuaToString(l, -1);
lua_pop(l, 1);