aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-init.cpp
diff options
context:
space:
mode:
authorNipun Garg2019-06-19 17:26:11 +0530
committerEugene Sandulenko2019-09-03 17:16:49 +0200
commit1810015d8f144eeb29923539cab366af0545878c (patch)
treef0ef32fce5bd70c14562c756a11e1d0bbe95c26c /engines/hdb/ai-init.cpp
parent0da23abccf315485270f194090504631c6f13e33 (diff)
downloadscummvm-rg350-1810015d8f144eeb29923539cab366af0545878c.tar.gz
scummvm-rg350-1810015d8f144eeb29923539cab366af0545878c.tar.bz2
scummvm-rg350-1810015d8f144eeb29923539cab366af0545878c.zip
HDB: Add restartSystem() and call it from init()
Diffstat (limited to 'engines/hdb/ai-init.cpp')
-rw-r--r--engines/hdb/ai-init.cpp11
1 files changed, 10 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