summaryrefslogtreecommitdiff
path: root/src/net/ea/gamehandler.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2009-10-29 22:10:44 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2009-10-29 22:10:44 +0100
commita5943d58c2fd81cc24e06cc44b55852a217d7c62 (patch)
tree1f432909379be2e719229a9c4f8b93cf17e431ac /src/net/ea/gamehandler.cpp
parentc8bb01e2284b0570872be5f638b640d22ae247c8 (diff)
downloadmana-client-a5943d58c2fd81cc24e06cc44b55852a217d7c62.tar.gz
mana-client-a5943d58c2fd81cc24e06cc44b55852a217d7c62.tar.bz2
mana-client-a5943d58c2fd81cc24e06cc44b55852a217d7c62.tar.xz
mana-client-a5943d58c2fd81cc24e06cc44b55852a217d7c62.zip
Some random cleanups
Diffstat (limited to 'src/net/ea/gamehandler.cpp')
-rw-r--r--src/net/ea/gamehandler.cpp3
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);