From f6bbc65579961b0b76ba42014da4c4a75d467285 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*... SVN-Revision: 6528 --- 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