Fixed crash when windows software renderer selected.

This commit is contained in:
Dmitry 2019-05-14 11:38:45 +03:00 committed by jeefo
commit b0bcf5fcdd
3 changed files with 26 additions and 2 deletions

View file

@ -841,7 +841,7 @@ void BotManager::updateBotDifficulties (void) {
auto bot = m_bots[i];
if (bot != nullptr) {
m_bots[i]->m_difficulty = difficulty;
bot->m_difficulty = difficulty;
}
}
m_lastDifficulty = difficulty;