aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/cge/cge_main.cpp2
-rw-r--r--engines/cge/snail.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp
index 6bcdb0f389..bd294716e2 100644
--- a/engines/cge/cge_main.cpp
+++ b/engines/cge/cge_main.cpp
@@ -721,7 +721,7 @@ void CGEEngine::switchScene(int newScene) {
if (_hero) {
_hero->park();
_hero->step(0);
- _vga->_spareQ->_show = 0;
+ _vga->_spareQ->_show = false;
}
_sceneLight->gotoxy(kSceneX + ((_now - 1) % kSceneNx) * kSceneDx + kSceneSX,
kSceneY + ((_now - 1) / kSceneNx) * kSceneDy + kSceneSY);
diff --git a/engines/cge/snail.cpp b/engines/cge/snail.cpp
index f75510ad6c..f50f66942b 100644
--- a/engines/cge/snail.cpp
+++ b/engines/cge/snail.cpp
@@ -447,7 +447,7 @@ void CGEEngine::snGame(Sprite *spr, int num) {
_commandHandler->addCommand(kCmdSeq, -1, 0, dup[2]); // Get Away (Her)
_commandHandler->addCommand(kCmdSetXY, -1, 182 + kScrWidth * 62, dup[2]);
_commandHandler->addCommand(kCmdSetZ, -1, 9, dup[2]);
- _game = 0;
+ _game = false;
return;
} else {
_commandHandler->addCommand(kCmdSeq, -1, 2, dup[0]); // reset animation sequence