Ooops, almost forgot this!
authorRicardo Cruz <rick2@aeiou.pt>
Tue, 27 Jul 2004 16:54:45 +0000 (16:54 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Tue, 27 Jul 2004 16:54:45 +0000 (16:54 +0000)
I really should do a testing, but I can't even compile the code. Output:

In file included from badguy.cpp:27:
defines.h:25:20: config.h: No such file or directory

SVN-Revision: 1637

src/worldmap.cpp

index 3d1457e..d309771 100644 (file)
@@ -436,6 +436,7 @@ WorldMap::load_map()
                       reader.read_string("level", level.name, true);
                       reader.read_int("x", level.x);
                       reader.read_int("y", level.y);
+                      level.auto_path = true;
                       reader.read_bool("auto-path", &level.auto_path);
                       level.swap_x = level.swap_y = -1;
                       reader.read_int("swap-x", level.swap_x);