aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap/scenes/scene54.cpp
diff options
context:
space:
mode:
authorStrangerke2016-03-25 07:33:22 +0100
committerEugene Sandulenko2016-05-10 09:54:21 +0200
commitecc3e2a786629d06fbcf17e4d74605215efdc1ef (patch)
tree1bcb1ebc284fb447aed6317dc3ba60b9a47a91b5 /engines/gnap/scenes/scene54.cpp
parentbec37164f840d47bd16b5c094d35f4345eb1d38c (diff)
downloadscummvm-rg350-ecc3e2a786629d06fbcf17e4d74605215efdc1ef.tar.gz
scummvm-rg350-ecc3e2a786629d06fbcf17e4d74605215efdc1ef.tar.bz2
scummvm-rg350-ecc3e2a786629d06fbcf17e4d74605215efdc1ef.zip
GNAP: Change the type of some variables to boolean
Diffstat (limited to 'engines/gnap/scenes/scene54.cpp')
-rw-r--r--engines/gnap/scenes/scene54.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/engines/gnap/scenes/scene54.cpp b/engines/gnap/scenes/scene54.cpp
index 6feb445490..387b17c28c 100644
--- a/engines/gnap/scenes/scene54.cpp
+++ b/engines/gnap/scenes/scene54.cpp
@@ -46,11 +46,11 @@ void GnapEngine::scene54_initCutscene1() {
_s99_sequenceCountArr[2] = 1;
_s99_sequenceCountArr[3] = 2;
_s99_sequenceCountArr[4] = 1;
- _s99_canSkip[0] = 0;
- _s99_canSkip[1] = 0;
- _s99_canSkip[2] = 0;
- _s99_canSkip[3] = 0;
- _s99_canSkip[4] = 0;
+ _s99_canSkip[0] = false;
+ _s99_canSkip[1] = false;
+ _s99_canSkip[2] = false;
+ _s99_canSkip[3] = false;
+ _s99_canSkip[4] = false;
_s99_itemsCount = 5;
}
@@ -105,22 +105,22 @@ void GnapEngine::scene54_initCutscene2() {
_s99_sequenceCountArr[13] = 1;
_s99_sequenceCountArr[14] = 1;
_s99_sequenceCountArr[15] = 1;
- _s99_canSkip[0] = 0;
- _s99_canSkip[1] = 0;
- _s99_canSkip[2] = 0;
- _s99_canSkip[3] = 0;
- _s99_canSkip[4] = 0;
- _s99_canSkip[5] = 0;
- _s99_canSkip[6] = 0;
- _s99_canSkip[7] = 0;
- _s99_canSkip[8] = 0;
- _s99_canSkip[9] = 0;
- _s99_canSkip[10] = 0;
- _s99_canSkip[11] = 0;
- _s99_canSkip[12] = 0;
- _s99_canSkip[13] = 1;
- _s99_canSkip[14] = 1;
- _s99_canSkip[15] = 0;
+ _s99_canSkip[0] = false;
+ _s99_canSkip[1] = false;
+ _s99_canSkip[2] = false;
+ _s99_canSkip[3] = false;
+ _s99_canSkip[4] = false;
+ _s99_canSkip[5] = false;
+ _s99_canSkip[6] = false;
+ _s99_canSkip[7] = false;
+ _s99_canSkip[8] = false;
+ _s99_canSkip[9] = false;
+ _s99_canSkip[10] = false;
+ _s99_canSkip[11] = false;
+ _s99_canSkip[12] = false;
+ _s99_canSkip[13] = true;
+ _s99_canSkip[14] = true;
+ _s99_canSkip[15] = false;
_s99_itemsCount = 16;
}