Fixed crash when windows software renderer selected.
This commit is contained in:
parent
5a7dbc2463
commit
b0bcf5fcdd
3 changed files with 26 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue