From a96ad66d345807d6021f28c9b05b02328f76cc0f Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Fri, 27 Mar 2009 16:59:18 -0600 Subject: FIx loading of initial map under eAthena --- src/game.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-60-g2f50