summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/charserverhandler.cpp1
-rw-r--r--src/net/ea/gamehandler.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp
index f2821792..f4b82aee 100644
--- a/src/net/ea/charserverhandler.cpp
+++ b/src/net/ea/charserverhandler.cpp
@@ -169,7 +169,6 @@ void CharServerHandler::handleMessage(MessageIn &msg)
mCharInfo->next();
} while (mCharInfo->getPos());
- sleep(3);
mCharInfo->select(slot);
mNetwork->disconnect();
state = STATE_CONNECT_GAME;
diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp
index 597fd1da..97862883 100644
--- a/src/net/ea/gamehandler.cpp
+++ b/src/net/ea/gamehandler.cpp
@@ -75,7 +75,7 @@ void GameHandler::handleMessage(MessageIn &msg)
logger->log("Protocol: Player start position: (%d, %d), Direction: %d",
x, y, direction);
// Switch now or we'll have problems
- // state = STATE_GAME;
+ state = STATE_GAME;
player_node->setTileCoords(x, y);
} break;