From fdbd3d6378118e28507c4aa7343ef34fc0aa9cab Mon Sep 17 00:00:00 2001 From: mathnerd314 Date: Wed, 3 Mar 2010 06:50:54 +0000 Subject: [PATCH] someone forgot a ! in world.cpp... git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6526 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- src/supertux/world.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 << "': " <