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/tmwa/generalhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/tmwa/generalhandler.cpp') diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp index 818e2d7a2..8dfdccfbc 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -207,7 +207,7 @@ void GeneralHandler::flushNetwork() errorMessage = _("Got disconnected from server!"); } - client->setState(STATE_ERROR); + client->setState(State::ERROR); } BLOCK_END("GeneralHandler::flushNetwork 3") } -- cgit v1.2.3-70-g09d2