diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 69bf2fd9c..4d4ece3fe 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1055,7 +1055,7 @@ void Game::changeMap(const std::string &mapPath) std::string realFullMap = paths.getValue("maps", "maps/").append( MapDB::getMapName(mMapName)).append(".tmx"); - if (!VirtFs::exists(realFullMap.c_str())) + if (!VirtFs::exists(realFullMap)) realFullMap.append(".gz"); // Attempt to load the new map |