summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/tmwa/gamehandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/gamehandler.cpp b/src/net/tmwa/gamehandler.cpp
index dc0644e9..abc9c73c 100644
--- a/src/net/tmwa/gamehandler.cpp
+++ b/src/net/tmwa/gamehandler.cpp
@@ -84,7 +84,7 @@ void GameHandler::handleMessage(MessageIn &msg)
break;
case SMSG_MAP_QUIT_RESPONSE:
- if (msg.readInt8())
+ if (msg.readInt16())
{
new OkDialog(_("Game"), _("Request to quit denied!"), false,
nullptr);