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 cf0769de..3aa093a6 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -936,7 +936,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"; |