summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 20fc2d090..67b887022 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1030,7 +1030,7 @@ void Game::changeMap(const std::string &mapPath)
std::string realFullMap = paths.getValue("maps", "maps/").append(
MapDB::getMapName(mMapName)).append(".tmx");
- if (!resman->exists(realFullMap))
+ if (!PhysFs::exists(realFullMap.c_str()))
realFullMap.append(".gz");
// Attempt to load the new map