fix: bots are not killable after the changelevel. fixes #143
This commit is contained in:
parent
2d3078f851
commit
2580c9478c
2 changed files with 2 additions and 1 deletions
|
|
@ -91,6 +91,7 @@ void BotManager::createKillerEntity () {
|
|||
void BotManager::destroyKillerEntity () {
|
||||
if (!game.isNullEntity (m_killerEntity)) {
|
||||
engfuncs.pfnRemoveEntity (m_killerEntity);
|
||||
m_killerEntity = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue