mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
fix possible crash when disconnecting, fix status small message
This commit is contained in:
@@ -257,6 +257,9 @@ void Game::walk(Otc::Direction direction)
|
||||
|
||||
void Game::forceWalk(Otc::Direction direction)
|
||||
{
|
||||
if(!isOnline() || !checkBotProtection())
|
||||
return;
|
||||
|
||||
switch(direction) {
|
||||
case Otc::North:
|
||||
m_protocolGame->sendWalkNorth();
|
||||
|
Reference in New Issue
Block a user