From a36909f5c3408153c9b5f9477adde9b27d8c7482 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 25 May 2009 23:04:58 +0200 Subject: Handle map not found gracefully Instead of shutting down, the client will now draw a gray background. This allows the player to still contact a GM in order to be helped out of the situation. It also helps me warp out of the non-existing map I accidentally warped myself onto. ;) --- src/net/ea/maphandler.cpp | 1 - src/net/tmwserv/maphandler.cpp | 1 - 2 files changed, 2 deletions(-) (limited to 'src/net') diff --git a/src/net/ea/maphandler.cpp b/src/net/ea/maphandler.cpp index c7ff0ec7..6f8a9827 100644 --- a/src/net/ea/maphandler.cpp +++ b/src/net/ea/maphandler.cpp @@ -103,7 +103,6 @@ void MapHandler::mapLoaded(const std::string &mapName) void MapHandler::who() { - } void MapHandler::quit() diff --git a/src/net/tmwserv/maphandler.cpp b/src/net/tmwserv/maphandler.cpp index 400188bf..d64ea13b 100644 --- a/src/net/tmwserv/maphandler.cpp +++ b/src/net/tmwserv/maphandler.cpp @@ -36,7 +36,6 @@ MapHandler::MapHandler() void MapHandler::handleMessage(MessageIn &msg) { - } void MapHandler::connect(LoginData *loginData) -- cgit v1.2.3-70-g09d2