From 0340f8f7b9d2b450e1fb3948fe81aa84ca78429b Mon Sep 17 00:00:00 2001 From: mathnerd314 Date: Wed, 3 Mar 2010 07:07:41 +0000 Subject: [PATCH] Apparently C++ doesn't automatically convert from std::string to const char*... git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6528 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 60fe2092d..f821dd4a4 100644 --- a/src/supertux/world.cpp +++ b/src/supertux/world.cpp @@ -197,7 +197,7 @@ World::load_state() { using namespace scripting; - if(PHYSFS_exists(savegame_filename)) { + if(PHYSFS_exists(savegame_filename.c_str())) { try { lisp::Parser parser; const lisp::Lisp* root = parser.parse(savegame_filename); -- 2.11.0