From 6254318eb0911aea47180e566d9b251debb518dd Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Wed, 28 Jul 2004 10:59:00 +0000 Subject: [PATCH] Fixed the not saving bug. It's odd, there was this code in savegame(): if(filename != "") return; ?!?!?!? :O SVN-Revision: 1651 --- src/worldmap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/worldmap.cpp b/src/worldmap.cpp index 747aa7d91..68ad20bf0 100644 --- a/src/worldmap.cpp +++ b/src/worldmap.cpp @@ -704,7 +704,7 @@ WorldMap::update(float delta) { PlayerStatus old_player_status = player_status; - std::cout << "Enter the current special_tile: " << special_tile->level_name << std::endl; + std::cout << "Enter the current level: " << special_tile->level_name << std::endl; // do a shriking fade to the special_tile shrink_fade(Vector((special_tile->x*32 + 16 + offset.x),(special_tile->y*32 + 16 + offset.y)), 500); @@ -1039,7 +1039,7 @@ WorldMap::display() void WorldMap::savegame(const std::string& filename) { - if(filename != "") + if(filename == "") return; std::cout << "savegame: " << filename << std::endl; -- 2.11.0