diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 79f21863..ec5e6b13 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -928,7 +928,8 @@ void Game::changeMap(const std::string &mapPath) mMapName = mapPath; - std::string fullMap = "maps/" + mapPath + ".tmx"; + std::string fullMap = paths.getValue("maps", "maps/") + + mMapName + ".tmx"; ResourceManager *resman = ResourceManager::getInstance(); if (!resman->exists(fullMap)) fullMap += ".gz"; |