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=5ba27477fef74e154472474fd75f59a36bf9253e;p=supertux.git someone forgot a ! in world.cpp... SVN-Revision: 6526 --- 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 << "': " <