From a5943d58c2fd81cc24e06cc44b55852a217d7c62 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Thu, 29 Oct 2009 22:10:44 +0100 Subject: Some random cleanups --- src/net/ea/gamehandler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/net/ea/gamehandler.cpp') diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp index a3c0ad3a..012e6f8c 100644 --- a/src/net/ea/gamehandler.cpp +++ b/src/net/ea/gamehandler.cpp @@ -59,12 +59,11 @@ GameHandler::GameHandler() void GameHandler::handleMessage(MessageIn &msg) { - unsigned char direction; - switch (msg.getId()) { case SMSG_MAP_LOGIN_SUCCESS: { + unsigned char direction; Uint16 x, y; msg.readInt32(); // server tick msg.readCoordinates(x, y, direction); -- cgit v1.2.3-70-g09d2