diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2009-10-29 22:10:44 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2009-10-29 22:10:44 +0100 |
commit | a5943d58c2fd81cc24e06cc44b55852a217d7c62 (patch) | |
tree | 1f432909379be2e719229a9c4f8b93cf17e431ac /src/net/ea/gamehandler.cpp | |
parent | c8bb01e2284b0570872be5f638b640d22ae247c8 (diff) | |
download | mana-a5943d58c2fd81cc24e06cc44b55852a217d7c62.tar.gz mana-a5943d58c2fd81cc24e06cc44b55852a217d7c62.tar.bz2 mana-a5943d58c2fd81cc24e06cc44b55852a217d7c62.tar.xz mana-a5943d58c2fd81cc24e06cc44b55852a217d7c62.zip |
Some random cleanups
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); |