From 5ba27477fef74e154472474fd75f59a36bf9253e 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... SVN-Revision: 6526 --- 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 << "': " <