aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/ai-init.cpp1
-rw-r--r--engines/hdb/ai.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp
index 22cf7297c7..b40b7ff170 100644
--- a/engines/hdb/ai-init.cpp
+++ b/engines/hdb/ai-init.cpp
@@ -769,6 +769,7 @@ bool AI::init() {
_kcHolderBlackOff = g_hdb->_drawMan->getTileIndex("anim_t32_kcholder_black_off1");
_kcHolderBlackOn = g_hdb->_drawMan->getTileIndex("t32_kcholder_black_on");
+ _dummyPlayer.type = AI_GUY;
_playerRunning = false;
restartSystem();
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h
index 0872938fb6..3bbb2d7241 100644
--- a/engines/hdb/ai.h
+++ b/engines/hdb/ai.h
@@ -876,6 +876,9 @@ public:
AutoAction *_autoActions[kMaxAutoActions];
+ // Virtual Player
+ AIEntity _dummyPlayer;
+
// Cinematic Variables
Common::Array<CineCommand *> _cine;