Update protocolgameparse.cpp

Fix the slow animation move effect, some opcodes error and logging in as GM
This commit is contained in:
KnopersPL 2013-08-25 12:20:54 +02:00
parent 32647f11bf
commit eb68504dc1
1 changed files with 2 additions and 2 deletions

View File

@ -385,7 +385,7 @@ void ProtocolGame::parseGMActions(const InputMessagePtr& msg)
int numViolationReasons; int numViolationReasons;
if(g_game.getProtocolVersion() >= 854) if(g_game.getProtocolVersion() >= 850)
numViolationReasons = 20; numViolationReasons = 20;
else else
numViolationReasons = 32; numViolationReasons = 32;
@ -535,7 +535,7 @@ void ProtocolGame::parseTileAddThing(const InputMessagePtr& msg)
Position pos = getPosition(msg); Position pos = getPosition(msg);
int stackPos = -1; int stackPos = -1;
if(g_game.getProtocolVersion() >= 854) if(g_game.getProtocolVersion() >= 850)
stackPos = msg->getU8(); stackPos = msg->getU8();
ThingPtr thing = getThing(msg); ThingPtr thing = getThing(msg);