diff --git a/src/client/protocolcodes.cpp b/src/client/protocolcodes.cpp index 41d19ec2..29eff5e9 100644 --- a/src/client/protocolcodes.cpp +++ b/src/client/protocolcodes.cpp @@ -57,7 +57,7 @@ void buildMessageModesMap(int version) { messageModesMap[Otc::MessageFailure] = 20; messageModesMap[Otc::MessageBlue] = 21; messageModesMap[Otc::MessageRed] = 22; - } else if(version >= 854) { + } else if(version >= 850) { messageModesMap[Otc::MessageNone] = 0; messageModesMap[Otc::MessageSay] = 1; messageModesMap[Otc::MessageWhisper] = 2; 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);