aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb/ai-init.cpp')
-rw-r--r--engines/hdb/ai-init.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp
index 5bb8c89c05..56ecad26ca 100644
--- a/engines/hdb/ai-init.cpp
+++ b/engines/hdb/ai-init.cpp
@@ -669,7 +669,6 @@ AIEntTypeInfo aiEntList[] = {
AI::AI() {
_ents = new Common::Array<AIEntity *>;
_floats = new Common::Array<AIEntity *>;
- _animTargets = new Common::Array<AnimTarget *>;
_arrowPaths = new Common::Array<ArrowPath *>;
_triggerList = new Common::Array<Trigger *>;
_hereList = new Common::Array<HereT *>;
@@ -684,7 +683,6 @@ AI::AI() {
AI::~AI() {
delete _ents;
delete _floats;
- delete _animTargets;
delete _arrowPaths;
delete _triggerList;
delete _hereList;
@@ -854,7 +852,7 @@ void AI::restartSystem() {
_numLuaList = 0;
// Clear Anim Targets List
- _animTargets->clear();
+ _animTargets.clear();
// Clear ArrowPath List
_arrowPaths->clear();