- woopsy, fix for load/savegame
authorIngo Ruhnke <grumbel@gmx.de>
Mon, 26 Apr 2004 17:46:26 +0000 (17:46 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Mon, 26 Apr 2004 17:46:26 +0000 (17:46 +0000)
SVN-Revision: 757

src/worldmap.cpp

index d0b378b..d5538d9 100644 (file)
@@ -921,7 +921,7 @@ WorldMap::loadgame(const std::string& filename)
     return;
   
   lisp_object_t* savegame = lisp_read_from_file(filename);
-  if (savegame)
+  if (!savegame)
     {
       std::cout << "WorldMap:loadgame: File not found: " << filename << std::endl;
       return;