From d7dfa2220e0555aaaff8250d4fea14e368361779 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 8 Jan 2014 17:24:49 +0100 Subject: [PATCH] GMAction fix --- src/client/protocolgameparse.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/protocolgameparse.cpp b/src/client/protocolgameparse.cpp index 094a8e43..ab61063b 100644 --- a/src/client/protocolgameparse.cpp +++ b/src/client/protocolgameparse.cpp @@ -407,10 +407,10 @@ void ProtocolGame::parseGMActions(const InputMessagePtr& msg) int numViolationReasons; - if(g_game.getProtocolVersion() >= 840) - numViolationReasons = 23; - else if(g_game.getProtocolVersion() >= 850) + if(g_game.getProtocolVersion() >= 850) numViolationReasons = 20; + else if(g_game.getProtocolVersion() >= 840) + numViolationReasons = 23; else numViolationReasons = 32;