From 58d3a2ec72fe688b2988efe32d14a1bb1f53e032 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Thu, 4 Oct 2012 19:58:22 -0300 Subject: [PATCH] Fix issue #99 --- src/otclient/protocolgameparse.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/otclient/protocolgameparse.cpp b/src/otclient/protocolgameparse.cpp index d0686126..b9beb8e4 100644 --- a/src/otclient/protocolgameparse.cpp +++ b/src/otclient/protocolgameparse.cpp @@ -337,10 +337,8 @@ void ProtocolGame::parseGMActions(const InputMessagePtr& msg) int numViolationReasons; - if(g_game.getClientVersion() >= 860) + if(g_game.getClientVersion() >= 854) numViolationReasons = 20; - else if(g_game.getClientVersion() >= 854) - numViolationReasons = 19; else numViolationReasons = 32;