My bad, wrong function name.

This commit is contained in:
Konrad Kuśnierz 2015-07-19 10:33:55 +02:00
parent 8abefb1505
commit 4591a37844
1 changed files with 1 additions and 1 deletions

View File

@ -1439,7 +1439,7 @@ bool Game::canPerformGameAction()
// - we have a game protocol
// - the game protocol is connected
// - its not a bot action
return m_online && m_localPlayer && !m_localPlayer->isDead() && !m_dead && m_protocolGame && m_protocolGame->isConnected() && checkStackTrace();
return m_online && m_localPlayer && !m_localPlayer->isDead() && !m_dead && m_protocolGame && m_protocolGame->isConnected() && checkBotProtection();
}
void Game::setProtocolVersion(int version)