diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-27 16:59:18 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-27 16:59:47 -0600 |
commit | a96ad66d345807d6021f28c9b05b02328f76cc0f (patch) | |
tree | 462f97b57ad427ba960205179f3832013f2ddb42 /src | |
parent | 4f02ad59df9ee3314fb0d429a031ecbfa3206e3a (diff) | |
download | mana-a96ad66d345807d6021f28c9b05b02328f76cc0f.tar.gz mana-a96ad66d345807d6021f28c9b05b02328f76cc0f.tar.bz2 mana-a96ad66d345807d6021f28c9b05b02328f76cc0f.tar.xz mana-a96ad66d345807d6021f28c9b05b02328f76cc0f.zip |
FIx loading of initial map under eAthena
Diffstat (limited to 'src')
-rw-r--r-- | src/game.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 6b9a829f..109ae071 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -447,6 +447,7 @@ Game::Game(Network *network): MessageOut msg(CMSG_CLIENT_PING); msg.writeInt32(tick_time); + map_path = map_path.substr(0, map_path.rfind(".")); engine->changeMap(map_path); MessageOut outMsg(CMSG_MAP_LOADED); #endif |