aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap
diff options
context:
space:
mode:
authorStrangerke2016-05-30 07:25:59 +0200
committerStrangerke2016-05-30 07:25:59 +0200
commit7792297691fa17abcbe9a695e092bab01d19a41c (patch)
tree3c4da69fefb2adc0de2b32f679b4e7b752adb225 /engines/gnap
parent0132689c99ac324c1f07ea7d4f2933c7a8da2b04 (diff)
downloadscummvm-rg350-7792297691fa17abcbe9a695e092bab01d19a41c.tar.gz
scummvm-rg350-7792297691fa17abcbe9a695e092bab01d19a41c.tar.bz2
scummvm-rg350-7792297691fa17abcbe9a695e092bab01d19a41c.zip
GNAP: Initialize two more variables
Diffstat (limited to 'engines/gnap')
-rw-r--r--engines/gnap/scenes/arcade.cpp3
-rw-r--r--engines/gnap/scenes/group2.cpp1
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/gnap/scenes/arcade.cpp b/engines/gnap/scenes/arcade.cpp
index 028a9006d0..5d65bc7c3b 100644
--- a/engines/gnap/scenes/arcade.cpp
+++ b/engines/gnap/scenes/arcade.cpp
@@ -1884,6 +1884,9 @@ Scene52::Scene52(GnapEngine *vm) : Scene(vm) {
_aliensCount = 0;
_nextUfoSequenceId = -1;
_ufoSequenceId = -1;
+ _liveAlienRows = 0;
+ _arcadeScreenLeft = 0;
+ _arcadeScreenRight = 0;
}
int Scene52::init() {
diff --git a/engines/gnap/scenes/group2.cpp b/engines/gnap/scenes/group2.cpp
index 522a3f4337..1db3144c2d 100644
--- a/engines/gnap/scenes/group2.cpp
+++ b/engines/gnap/scenes/group2.cpp
@@ -1021,6 +1021,7 @@ Scene22::Scene22(GnapEngine *vm) : Scene(vm) {
_caughtBefore = false;
_cashierCtr = 3;
_nextCashierSequenceId = -1;
+ _currCashierSequenceId = -1;
}
int Scene22::init() {