Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21048/src
Modified Files:
worldmap.cpp
Log Message:
Fixed the not saving bug.
It's odd, there was this code in savegame():
if(filename != "")
return;
?!?!?!? :O
Index: worldmap.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/worldmap.cpp,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -d -r1.108 -r1.109
--- worldmap.cpp 28 Jul 2004 10:47:49 -0000 1.108
+++ worldmap.cpp 28 Jul 2004 10:59:00 -0000 1.109
@@ -704,7 +704,7 @@
{
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 @@
void
WorldMap::savegame(const std::string& filename)
{
- if(filename != "")
+ if(filename == "")
return;
std::cout << "savegame: " << filename << std::endl;
|