diff --git a/src/sharedstate.cpp b/src/sharedstate.cpp index 36b4332..a2f78e5 100644 --- a/src/sharedstate.cpp +++ b/src/sharedstate.cpp @@ -118,8 +118,6 @@ struct SharedStatePrivate throw Exception(Exception::MKXPError, "Unable to switch into gameFolder '%s'", config.gameFolder.c_str()); - - fileSystem.addPath("."); } // FIXME find out correct archive filename @@ -133,6 +131,8 @@ struct SharedStatePrivate fclose(tmp); } + fileSystem.addPath("."); + for (size_t i = 0; i < config.rtps.size(); ++i) fileSystem.addPath(config.rtps[i].c_str());