mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 01:29:21 +02:00
GMAction fix
This commit is contained in:
parent
59c3e4467a
commit
d7dfa2220e
@ -407,10 +407,10 @@ void ProtocolGame::parseGMActions(const InputMessagePtr& msg)
|
||||
|
||||
int numViolationReasons;
|
||||
|
||||
if(g_game.getProtocolVersion() >= 840)
|
||||
numViolationReasons = 23;
|
||||
else if(g_game.getProtocolVersion() >= 850)
|
||||
if(g_game.getProtocolVersion() >= 850)
|
||||
numViolationReasons = 20;
|
||||
else if(g_game.getProtocolVersion() >= 840)
|
||||
numViolationReasons = 23;
|
||||
else
|
||||
numViolationReasons = 32;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user