diff options
author | Nipun Garg | 2019-06-22 06:13:27 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:55 +0200 |
commit | 7c823019be7d9eaf1b3c1692e85b993d05e31720 (patch) | |
tree | 2e5ff7441a50c9900648378ac0f9ca7ead3d372e | |
parent | ab917b038acf9ddb79ec5b5e5ac10d7dee5cbb93 (diff) | |
download | scummvm-rg350-7c823019be7d9eaf1b3c1692e85b993d05e31720.tar.gz scummvm-rg350-7c823019be7d9eaf1b3c1692e85b993d05e31720.tar.bz2 scummvm-rg350-7c823019be7d9eaf1b3c1692e85b993d05e31720.zip |
HDB: Add _dummyPlayer as Virtual Player
-rw-r--r-- | engines/hdb/ai-init.cpp | 1 | ||||
-rw-r--r-- | engines/hdb/ai.h | 3 |
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; |