aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-06-27 06:21:02 +0530
committerEugene Sandulenko2019-09-03 17:17:01 +0200
commitb6bfa8c03e69c7af86e537e649ddced633c5fd66 (patch)
tree53afde7a6920e2ef3e972f813798a7af5f86e378
parent4905233ef0b5394d67767b39fbafb3f963515fa2 (diff)
downloadscummvm-rg350-b6bfa8c03e69c7af86e537e649ddced633c5fd66.tar.gz
scummvm-rg350-b6bfa8c03e69c7af86e537e649ddced633c5fd66.tar.bz2
scummvm-rg350-b6bfa8c03e69c7af86e537e649ddced633c5fd66.zip
HDB: Add _dummyLaser
-rw-r--r--engines/hdb/ai-init.cpp1
-rw-r--r--engines/hdb/ai.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp
index ade5ff4d74..6cfe702452 100644
--- a/engines/hdb/ai-init.cpp
+++ b/engines/hdb/ai-init.cpp
@@ -773,6 +773,7 @@ bool AI::init() {
_kcHolderBlackOn = g_hdb->_drawMan->getTileIndex("t32_kcholder_black_on");
_dummyPlayer.type = AI_GUY;
+ _dummyLaser.type = AI_LASERBEAM;
strcpy(_dummyPlayer.entityName, "Virtual Player");
_playerRunning = false;
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h
index 3aa7bde5a2..f24dbc850f 100644
--- a/engines/hdb/ai.h
+++ b/engines/hdb/ai.h
@@ -1006,7 +1006,7 @@ public:
Common::Array<HereT *> *_hereList;
// Virtual Player
- AIEntity _dummyPlayer;
+ AIEntity _dummyPlayer, _dummyLaser;
// Cinematic Variables
Common::Array<CineCommand *> _cine;