mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 13:03:27 +02:00
GMAction fix
This commit is contained in:
@@ -407,10 +407,10 @@ void ProtocolGame::parseGMActions(const InputMessagePtr& msg)
|
|||||||
|
|
||||||
int numViolationReasons;
|
int numViolationReasons;
|
||||||
|
|
||||||
if(g_game.getProtocolVersion() >= 840)
|
if(g_game.getProtocolVersion() >= 850)
|
||||||
numViolationReasons = 23;
|
|
||||||
else if(g_game.getProtocolVersion() >= 850)
|
|
||||||
numViolationReasons = 20;
|
numViolationReasons = 20;
|
||||||
|
else if(g_game.getProtocolVersion() >= 840)
|
||||||
|
numViolationReasons = 23;
|
||||||
else
|
else
|
||||||
numViolationReasons = 32;
|
numViolationReasons = 32;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user