From: mathnerd314 Date: Wed, 3 Mar 2010 06:50:54 +0000 (+0000) Subject: someone forgot a ! in world.cpp... X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=fdbd3d6378118e28507c4aa7343ef34fc0aa9cab;p=supertux.git someone forgot a ! in world.cpp... git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6526 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- diff --git a/src/supertux/world.cpp b/src/supertux/world.cpp index f13609811..2df22f37f 100644 --- a/src/supertux/world.cpp +++ b/src/supertux/world.cpp @@ -65,7 +65,7 @@ World::set_savegame_filename(const std::string& filename) // make sure the savegame directory exists std::string dirname = FileSystem::dirname(filename); if(!PHYSFS_exists(dirname.c_str())) { - if(PHYSFS_mkdir(dirname.c_str())) { + if(!PHYSFS_mkdir(dirname.c_str())) { std::ostringstream msg; msg << "Couldn't create directory for savegames '" << dirname << "': " <