From: Ingo Ruhnke Date: Mon, 26 Apr 2004 17:46:26 +0000 (+0000) Subject: - woopsy, fix for load/savegame X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c6dedb65354cc27a74448c09736df3519e4c0aa0;p=supertux.git - woopsy, fix for load/savegame SVN-Revision: 757 --- diff --git a/src/worldmap.cpp b/src/worldmap.cpp index d0b378b92..d5538d9ad 100644 --- a/src/worldmap.cpp +++ b/src/worldmap.cpp @@ -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;