diff options
author | Strangerke | 2011-12-03 17:52:05 +0100 |
---|---|---|
committer | Strangerke | 2011-12-03 17:52:05 +0100 |
commit | 816b65ff2c2aefa6cd018da8c1505cdf9a30e5f6 (patch) | |
tree | 6697512f4da79de36e726523eeee55bf69168717 /engines | |
parent | 4b62118f12ffca61b689ee4bfdbbb296f67d72ca (diff) | |
download | scummvm-rg350-816b65ff2c2aefa6cd018da8c1505cdf9a30e5f6.tar.gz scummvm-rg350-816b65ff2c2aefa6cd018da8c1505cdf9a30e5f6.tar.bz2 scummvm-rg350-816b65ff2c2aefa6cd018da8c1505cdf9a30e5f6.zip |
CGE: Soltys - Fix initialization of a couple of bool variables
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge/cge_main.cpp | 2 | ||||
-rw-r--r-- | engines/cge/snail.cpp | 2 |
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 |