(svn r16556) -Codechange [NoAI]: use accessor for AIInstance::is_dead
This commit is contained in:
@@ -80,6 +80,11 @@ public:
|
||||
*/
|
||||
class AIController *GetController() { return controller; }
|
||||
|
||||
/**
|
||||
* Return the "this AI died" value
|
||||
*/
|
||||
inline bool IsDead() { return this->is_dead; }
|
||||
|
||||
/**
|
||||
* Call the AI Save function and save all data in the savegame.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user