diff --git a/src/otclient/core/game.cpp b/src/otclient/core/game.cpp index 69e94cf3..1dd77153 100644 --- a/src/otclient/core/game.cpp +++ b/src/otclient/core/game.cpp @@ -450,7 +450,7 @@ void Game::autoWalk(const std::vector& dirs) if(!canPerformGameAction()) return; - if(dirs.size() >= 255) + if(dirs.size() > 255) return; if(isFollowing()) diff --git a/src/otclient/net/protocolcodes.h b/src/otclient/net/protocolcodes.h index 2610a2e5..302544ba 100644 --- a/src/otclient/net/protocolcodes.h +++ b/src/otclient/net/protocolcodes.h @@ -316,7 +316,8 @@ namespace Proto { ServerSpeakChannelWhite, ServerSpeakBroadcast, ServerSpeakChannelRed, - ServerSpeakPrivateRed, + ServerSpeakPrivateRedTo, + ServerSpeakPrivateRedFrom = ServerSpeakPrivateRedTo, ServerSpeakChannelOrange, ServerSpeakMonsterSay, ServerSpeakMonsterYell,