From b3d17866a3c5700b52c2b0b954fce132a52c1dbf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Nov 2015 22:35:17 +0300 Subject: Convert State enum into strong typed. --- src/net/eathena/gamerecv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena/gamerecv.cpp') diff --git a/src/net/eathena/gamerecv.cpp b/src/net/eathena/gamerecv.cpp index 43c52ba61..e7dd0b589 100644 --- a/src/net/eathena/gamerecv.cpp +++ b/src/net/eathena/gamerecv.cpp @@ -65,7 +65,7 @@ void GameRecv::processMapLogin(Net::MessageIn &msg) network->pauseDispatch(); // Switch now or we'll have problems - client->setState(STATE_GAME); + client->setState(State::GAME); if (localPlayer) localPlayer->setTileCoords(x, y); } -- cgit v1.2.3-70-g09d2