summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-27 16:59:18 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-27 16:59:47 -0600
commita96ad66d345807d6021f28c9b05b02328f76cc0f (patch)
tree462f97b57ad427ba960205179f3832013f2ddb42
parent4f02ad59df9ee3314fb0d429a031ecbfa3206e3a (diff)
downloadMana-a96ad66d345807d6021f28c9b05b02328f76cc0f.tar.gz
Mana-a96ad66d345807d6021f28c9b05b02328f76cc0f.tar.bz2
Mana-a96ad66d345807d6021f28c9b05b02328f76cc0f.tar.xz
Mana-a96ad66d345807d6021f28c9b05b02328f76cc0f.zip
FIx loading of initial map under eAthena
-rw-r--r--src/game.cpp1
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