diff options
author | Nipun Garg | 2019-06-19 17:26:11 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:49 +0200 |
commit | 1810015d8f144eeb29923539cab366af0545878c (patch) | |
tree | f0ef32fce5bd70c14562c756a11e1d0bbe95c26c /engines/hdb/ai-init.cpp | |
parent | 0da23abccf315485270f194090504631c6f13e33 (diff) | |
download | scummvm-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.cpp | 11 |
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 |