[Super-tux-commit] supertux/src worldmap.cpp,1.106,1.107
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-07-27 22:46:22
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9271/src Modified Files: 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.106 retrieving revision 1.107 diff -u -d -r1.106 -r1.107 --- worldmap.cpp 27 Jul 2004 22:31:29 -0000 1.106 +++ worldmap.cpp 27 Jul 2004 22:46:13 -0000 1.107 @@ -261,7 +261,7 @@ // We got a new direction, so lets start walking when possible Vector next_tile; - if ((!special_tile || special_tile->solved) + if ((!special_tile || special_tile->solved || special_tile->level_name.empty()) && worldmap->path_ok(input_direction, tile_pos, &next_tile)) { tile_pos = next_tile; |