aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorStrangerke2019-09-09 22:47:27 +0200
committerStrangerke2019-09-09 22:47:27 +0200
commit0e04da2cc818bbc8c4b0ebae5ac336bf100b6b55 (patch)
treedb6503f05bb1ab9cf263c84981735d0b50a56f61 /engines/hdb
parent9de42a143a16e86b7fa08e6324b3823266e15561 (diff)
downloadscummvm-rg350-0e04da2cc818bbc8c4b0ebae5ac336bf100b6b55.tar.gz
scummvm-rg350-0e04da2cc818bbc8c4b0ebae5ac336bf100b6b55.tar.bz2
scummvm-rg350-0e04da2cc818bbc8c4b0ebae5ac336bf100b6b55.zip
HDB: Fix more uninitialized variables in ai-init
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/ai-init.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp
index c8fe629883..7d9a15cde9 100644
--- a/engines/hdb/ai-init.cpp
+++ b/engines/hdb/ai-init.cpp
@@ -992,6 +992,34 @@ AI::AI() {
_cameraLock = false;
_cameraX = 0;
_cameraY = 0;
+ _blockpole = 0;
+ _kcHolderWhiteOff = 0;
+ _kcHolderWhiteOn = 0;
+ _kcHolderBlueOff = 0;
+ _kcHolderBlueOn = 0;
+ _kcHolderRedOff = 0;
+ _kcHolderRedOn = 0;
+ _kcHolderGreenOff = 0;
+ _kcHolderGreenOn = 0;
+ _kcHolderPurpleOff = 0;
+ _kcHolderPurpleOn = 0;
+ _kcHolderBlackOff = 0;
+ _kcHolderBlackOn = 0;
+ _numLevel2Ents = 0;
+ _numInventory = 0;
+ _numDeliveries = 0;
+ _numWaypoints = 0;
+ _numLuaList = 0;
+ _numTeleporters = 0;
+ _laserRescan = false;
+ _laserOnScreen = false;
+ _numBridges = 0;
+ _numCineBlitList = 0;
+ _numCineFreeList = 0;
+ for (int i = 0; i < 10; ++i) {
+ _cineBlitList[i] = nullptr;
+ _cineFreeList[i] = nullptr;
+ }
}
AI::~AI() {