[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/unit ccl_unit.c
From: |
address@hidden |
Subject: |
[Stratagus-CVS] stratagus/src/unit ccl_unit.c |
Date: |
3 Jan 2004 16:39:22 +1100 |
CVSROOT: /home/strat
Module name: stratagus
Changes by: <address@hidden> 04/01/03 16:39:22
Modified files:
src/unit : ccl_unit.c
Log message:
Added missing lua_pop
Patches:
Index: stratagus/src/unit/ccl_unit.c
diff -u stratagus/src/unit/ccl_unit.c:1.89 stratagus/src/unit/ccl_unit.c:1.90
--- stratagus/src/unit/ccl_unit.c:1.89 Sat Jan 3 11:59:58 2004
+++ stratagus/src/unit/ccl_unit.c Sat Jan 3 16:39:22 2004
@@ -5,12 +5,12 @@
// /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
// \/ \/ \//_____/ \/
// ______________________ ______________________
-// T H E W A R B E G I N S
-// Stratagus - A free fantasy real time strategy game engine
+// T H E W A R B E G I N S
+// Stratagus - A free fantasy real time strategy game engine
//
/address@hidden ccl_unit.c - The unit ccl functions. */
//
-// (c) Copyright 2001-2003 by Lutz Sammer and Jimmy Salmon
+// (c) Copyright 2001-2004 by Lutz Sammer and Jimmy Salmon
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: ccl_unit.c,v 1.89 2004/01/03 00:59:58 jsalmon3 Exp $
+// $Id: ccl_unit.c,v 1.90 2004/01/03 05:39:22 jsalmon3 Exp $
//@{
@@ -282,6 +282,7 @@
++j;
lua_rawgeti(l, -1, j + 1);
order->Type = UnitTypeByIdent(LuaToString(l, -1));
+ lua_pop(l, 1);
} else if (!strcmp(value, "patrol")) {
int x1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Stratagus-CVS] stratagus/src/unit ccl_unit.c,
address@hidden <=