diff options
author | Nipun Garg | 2019-06-19 17:25:19 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:49 +0200 |
commit | 0da23abccf315485270f194090504631c6f13e33 (patch) | |
tree | 69452cba7ec3377343bcc188ad90d6343529fd3b /engines/hdb/ai-init.cpp | |
parent | 34372611332a73c08f5f723ca3d6fc693759cedb (diff) | |
download | scummvm-rg350-0da23abccf315485270f194090504631c6f13e33.tar.gz scummvm-rg350-0da23abccf315485270f194090504631c6f13e33.tar.bz2 scummvm-rg350-0da23abccf315485270f194090504631c6f13e33.zip |
HDB: Add _ents Entity List and initialize it
Diffstat (limited to 'engines/hdb/ai-init.cpp')
-rw-r--r-- | engines/hdb/ai-init.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp index 886b546b2e..74bfa92b0d 100644 --- a/engines/hdb/ai-init.cpp +++ b/engines/hdb/ai-init.cpp @@ -666,6 +666,14 @@ AIEntTypeInfo aiEntList[] = { { END_AI_TYPES, NULL, NULL, NULL, NULL } }; +AI::AI() { + _ents = new Common::Array<AIEntity *>; +} + +AI::~AI() { + delete _ents; +} + bool AI::init() { warning("STUB: AI::init required"); return true; |