summaryrefslogtreecommitdiff
path: root/src/net/maploginhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/maploginhandler.cpp')
-rw-r--r--src/net/maploginhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/maploginhandler.cpp b/src/net/maploginhandler.cpp
index 579e8542..323e07fb 100644
--- a/src/net/maploginhandler.cpp
+++ b/src/net/maploginhandler.cpp
@@ -40,14 +40,14 @@ MapLoginHandler::MapLoginHandler()
handledMessages = _messages;
}
-void MapLoginHandler::handleMessage(MessageIn *msg)
+void MapLoginHandler::handleMessage(MessageIn &msg)
{
//unsigned char direction;
- switch (msg->getId())
+ switch (msg.getId())
{
case SMSG_LOGIN_SUCCESS:
- msg->readLong(); // server tick
+ msg.readLong(); // server tick
//logger->log("Protocol: Player start position: (%d, %d), Direction: %d",
// player_node->mX, player_node->mY, direction);
state = STATE_GAME;