(svn r18747) -Codechange: add some constness to the AI code
This commit is contained in:
@@ -391,7 +391,7 @@ void AIInstance::GameLoop()
|
||||
}
|
||||
}
|
||||
|
||||
void AIInstance::CollectGarbage()
|
||||
void AIInstance::CollectGarbage() const
|
||||
{
|
||||
if (this->is_started && !this->IsDead()) this->engine->CollectGarbage();
|
||||
}
|
||||
|
Reference in New Issue
Block a user