HDB: Fix some more uninitialized variables

This commit is contained in:
Strangerke 2019-09-16 23:05:51 +02:00
parent 9b2cc0d597
commit 35ff6adfd5
2 changed files with 28 additions and 0 deletions

View File

@ -1020,6 +1020,32 @@ AI::AI() {
_cineBlitList[i] = nullptr;
_cineFreeList[i] = nullptr;
}
_targetDoor2S = 0;
_targetDoor2Nv = 0;
_targetDoor2Pv = 0;
_targetDoor2Sv = 0;
_target2DoorN = 0;
_target2DoorP = 0;
_target2DoorS = 0;
_target2DoorNv = 0;
_target2DoorPv = 0;
_target2DoorSv = 0;
_target3DoorN = 0;
_target3DoorP = 0;
_target3DoorS = 0;
_target3DoorNv = 0;
_target3DoorPv = 0;
_target3DoorSv = 0;
_targetBridgeU = 0;
_targetBridgeD = 0;
_targetBridgeL = 0;
_targetBridgeR = 0;
_targetBridgeMidLR = 0;
_targetBridgeMidUD = 0;
_touchplateOn = 0;
_touchplateOff = 0;
_templeTouchpOn = 0;
_templeTouchpOff = 0;
}
AI::~AI() {

View File

@ -119,6 +119,8 @@ Window::Window() {
_gfxTitleM = nullptr;
_gfxTitleR = nullptr;
_gGfxTL = nullptr;
_invItemSpaceX = 0;
_invItemSpaceY = 0;
}
Window::~Window() {