mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
Update protocolgameparse.cpp
Fix the slow animation move effect, some opcodes error and logging in as GM
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user