diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-20 18:26:13 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-20 18:26:13 +0000 |
commit | a8ea71211ba50f0ad147c581aca1d45d7f41aca1 (patch) | |
tree | fd57cd6a9acad18e95021331bcad116eeeeaae88 /src/engine.cpp | |
parent | 2fe42d32c6d368a66586c605cc1b38ee8d85ed1d (diff) | |
download | mana-client-a8ea71211ba50f0ad147c581aca1d45d7f41aca1.tar.gz mana-client-a8ea71211ba50f0ad147c581aca1d45d7f41aca1.tar.bz2 mana-client-a8ea71211ba50f0ad147c581aca1d45d7f41aca1.tar.xz mana-client-a8ea71211ba50f0ad147c581aca1d45d7f41aca1.zip |
GPMSG_PLAYER_MAP_CHANGE is now partly handled.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 77f7f8ac..a6ce9533 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -115,7 +115,7 @@ void Engine::changeMap(const std::string &mapPath) beingManager->clear(); // Store full map path in global var - map_path = "maps/" + mapPath.substr(0, mapPath.rfind(".")) + ".tmx.gz"; + map_path = "maps/" + mapPath; // Attempt to load the new map Map *newMap = MapReader::readMap(map_path); |