From: Ricardo Cruz Date: Tue, 27 Jul 2004 22:46:13 +0000 (+0000) Subject: Fixed bug to let the player go through messages with no levels on it. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1b3342a533c17cd3bf81c1854af9ab0428a01e93;p=supertux.git Fixed bug to let the player go through messages with no levels on it. SVN-Revision: 1645 --- diff --git a/src/worldmap.cpp b/src/worldmap.cpp index 37c4cd6ab..5401090d7 100644 --- a/src/worldmap.cpp +++ b/src/worldmap.cpp @@ -261,7 +261,7 @@ Tux::action(float delta) // 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;