Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9097/src
Modified Files:
Tag: supertux_0_1_1_branch
worldmap.cpp
Log Message:
Fixed bug to let the player go through messages with no levels on it.
Index: worldmap.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/worldmap.cpp,v
retrieving revision 1.68.2.6
retrieving revision 1.68.2.7
diff -u -d -r1.68.2.6 -r1.68.2.7
--- worldmap.cpp 27 Jul 2004 22:36:00 -0000 1.68.2.6
+++ worldmap.cpp 27 Jul 2004 22:45:36 -0000 1.68.2.7
@@ -253,7 +253,7 @@
// We got a new direction, so lets start walking when possible
Point next_tile;
- if ((!level || level->solved)
+ if ((!level || level->solved || level->name.empty())
&& worldmap->path_ok(input_direction, tile_pos, &next_tile))
{
tile_pos = next_tile;
|