From: Ricardo Cruz Date: Tue, 27 Jul 2004 16:54:45 +0000 (+0000) Subject: Ooops, almost forgot this! X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4c5fbc74bd0f62fb414685a2bfc41470dfa15830;p=supertux.git Ooops, almost forgot this! 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 --- diff --git a/src/worldmap.cpp b/src/worldmap.cpp index 3d1457eec..d309771c6 100644 --- a/src/worldmap.cpp +++ b/src/worldmap.cpp @@ -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);