diff options
Diffstat (limited to 'src/ai/ai_instance.hpp')
-rw-r--r-- | src/ai/ai_instance.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/ai_instance.hpp b/src/ai/ai_instance.hpp index b2cc2f49c..f0862ea9e 100644 --- a/src/ai/ai_instance.hpp +++ b/src/ai/ai_instance.hpp @@ -70,7 +70,7 @@ public: /** * Let the VM collect any garbage. */ - void CollectGarbage(); + void CollectGarbage() const; /** * Get the storage of this AI. @@ -105,7 +105,7 @@ public: /** * Return the "this AI died" value */ - inline bool IsDead() { return this->is_dead; } + inline bool IsDead() const { return this->is_dead; } /** * Call the AI Save function and save all data in the savegame. |