stratagus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Stratagus-CVS] stratagus/src/map script_map.c


From: address@hidden
Subject: [Stratagus-CVS] stratagus/src/map script_map.c
Date: 31 Jan 2004 16:56:00 +1100

CVSROOT:        /home/strat
Module name:    stratagus
Changes by:      <address@hidden>       04/01/31 16:56:00

Modified files:
        src/map        : script_map.c 

Log message:
        Buggy, fixing

Patches:
Index: stratagus/src/map/script_map.c
diff -u stratagus/src/map/script_map.c:1.54 stratagus/src/map/script_map.c:1.55
--- stratagus/src/map/script_map.c:1.54 Sat Jan 17 02:17:26 2004
+++ stratagus/src/map/script_map.c      Sat Jan 31 16:56:00 2004
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//      $Id: script_map.c,v 1.54 2004/01/16 15:17:26 wizzard Exp $
+//      $Id: script_map.c,v 1.55 2004/01/31 05:56:00 wizzard Exp $
 
 //@{
 
@@ -151,6 +151,8 @@
                                } else if (!strcmp(value, "no-fog-of-war")) {
                                        TheMap.NoFogOfWar = 1;
                                        --k;
+                               } else if (!strcmp(value, "filename")) {
+                                       TheMap.Info->Filename = 
strdup(LuaToString(l, k + 1));
                                } else if (!strcmp(value, "map-fields")) {
                                        int i;
                                        int subsubargs;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]