Update protocolgameparse.cpp
Fix the slow animation move effect, some opcodes error and logging in as GM
This commit is contained in:
parent
32647f11bf
commit
eb68504dc1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue