From eb68504dc1df465e2118f3bf2dad9d05a021187c Mon Sep 17 00:00:00 2001 From: KnopersPL Date: Sun, 25 Aug 2013 12:20:54 +0200 Subject: [PATCH] Update protocolgameparse.cpp Fix the slow animation move effect, some opcodes error and logging in as GM --- src/client/protocolgameparse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/protocolgameparse.cpp b/src/client/protocolgameparse.cpp index 263a8f3c..647a81d6 100644 --- a/src/client/protocolgameparse.cpp +++ b/src/client/protocolgameparse.cpp @@ -385,7 +385,7 @@ void ProtocolGame::parseGMActions(const InputMessagePtr& msg) int numViolationReasons; - if(g_game.getProtocolVersion() >= 854) + if(g_game.getProtocolVersion() >= 850) numViolationReasons = 20; else numViolationReasons = 32; @@ -535,7 +535,7 @@ void ProtocolGame::parseTileAddThing(const InputMessagePtr& msg) Position pos = getPosition(msg); int stackPos = -1; - if(g_game.getProtocolVersion() >= 854) + if(g_game.getProtocolVersion() >= 850) stackPos = msg->getU8(); ThingPtr thing = getThing(msg);