aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
authorStrangerke2014-05-24 01:15:47 +0200
committerStrangerke2014-05-24 01:15:47 +0200
commit2e02e1c9387a62d2be0ffbce2bdb03bde01b9697 (patch)
tree3b085db08945aa118239e892d9a21db22e9bd4b2 /engines/avalanche
parent6b435616132fc438919549d529aefbccf90819af (diff)
downloadscummvm-rg350-2e02e1c9387a62d2be0ffbce2bdb03bde01b9697.tar.gz
scummvm-rg350-2e02e1c9387a62d2be0ffbce2bdb03bde01b9697.tar.bz2
scummvm-rg350-2e02e1c9387a62d2be0ffbce2bdb03bde01b9697.zip
AVALANCHE: Initialize two variables in GhostRoom()
Diffstat (limited to 'engines/avalanche')
-rw-r--r--engines/avalanche/ghostroom.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/avalanche/ghostroom.cpp b/engines/avalanche/ghostroom.cpp
index 16c79fdee0..047a3670c2 100644
--- a/engines/avalanche/ghostroom.cpp
+++ b/engines/avalanche/ghostroom.cpp
@@ -49,6 +49,9 @@ GhostRoom::GhostRoom(AvalancheEngine *vm) {
_greldetCount = 0;
_redGreldet = false;
_wasLoaded = false;
+
+ _ghost = nullptr;
+ _glerk = nullptr;
}
GhostRoom::~GhostRoom() {