mirror of
https://github.com/edubart/otclient.git
synced 2025-05-03 11:09:20 +02:00
parent
0afbfd58ce
commit
8abefb1505
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user