Skip to content

Commit

Permalink
Apparently C++ doesn't automatically convert from std::string to cons…
Browse files Browse the repository at this point in the history
…t char*...

SVN-Revision: 6528
  • Loading branch information
Mathnerd314 committed Mar 3, 2010
1 parent 627f795 commit f6bbc65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/supertux/world.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit f6bbc65

Please sign in to comment.