mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
@@ -1439,7 +1439,7 @@ bool Game::canPerformGameAction()
|
|||||||
// - we have a game protocol
|
// - we have a game protocol
|
||||||
// - the game protocol is connected
|
// - the game protocol is connected
|
||||||
// - its not a bot action
|
// - its not a bot action
|
||||||
return m_online && m_localPlayer && !m_dead && m_protocolGame && m_protocolGame->isConnected() && checkBotProtection();
|
return m_online && m_localPlayer && !m_localPlayer->isDead() && !m_dead && m_protocolGame && m_protocolGame->isConnected() && checkStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Game::setProtocolVersion(int version)
|
void Game::setProtocolVersion(int version)
|
||||||
|
Reference in New Issue
Block a user