diff options
-rw-r--r-- | engines/hdb/ai-init.cpp | 11 | ||||
-rw-r--r-- | engines/hdb/ai.h | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp index 74bfa92b0d..a9f9639cd3 100644 --- a/engines/hdb/ai-init.cpp +++ b/engines/hdb/ai-init.cpp @@ -675,7 +675,16 @@ AI::~AI() { } bool AI::init() { - warning("STUB: AI::init required"); + warning("STUB: AI::init incomplete"); + + restartSystem(); return true; } + +void AI::restartSystem() { + warning("STUB: AI::restartSystem incomplete"); + + // Clear the Entity List + _ents->clear(); +} } // End of Namespace diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h index 3c1a4ca472..67276d034d 100644 --- a/engines/hdb/ai.h +++ b/engines/hdb/ai.h @@ -397,6 +397,8 @@ public: ~AI(); bool init(); + void restartSystem(); + // Cinematic Functions void processCines(); |