diff options
Diffstat (limited to 'src/net/ea/gamehandler.cpp')
-rw-r--r-- | src/net/ea/gamehandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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); |