diff options
author | Strangerke | 2014-03-09 00:03:21 +0100 |
---|---|---|
committer | Strangerke | 2014-03-09 00:03:21 +0100 |
commit | 47f9a2dd10f8a724060ac720f47f2c18729805f8 (patch) | |
tree | 4a0c58c359ba2e9ec8ec0251a664e419a11de3eb | |
parent | 0b9ba6ad29140c43149ddf17abc23a6d19f4203c (diff) | |
download | scummvm-rg350-47f9a2dd10f8a724060ac720f47f2c18729805f8.tar.gz scummvm-rg350-47f9a2dd10f8a724060ac720f47f2c18729805f8.tar.bz2 scummvm-rg350-47f9a2dd10f8a724060ac720f47f2c18729805f8.zip |
TUCKER: Fix some values assigned to _skipCurrentCharacterDraw
-rw-r--r-- | engines/tucker/tucker.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/tucker/tucker.cpp b/engines/tucker/tucker.cpp index 01cdd6a704..ad66f30ad9 100644 --- a/engines/tucker/tucker.cpp +++ b/engines/tucker/tucker.cpp @@ -414,7 +414,7 @@ void TuckerEngine::mainLoop() { } if (_flagsTable[158] == 1) { _flagsTable[158] = 0; - _skipCurrentCharacterDraw = 1; + _skipCurrentCharacterDraw = true; } _mainLoopCounter1 = 0; } @@ -495,7 +495,7 @@ void TuckerEngine::mainLoop() { drawSprite(i); } } - if (_skipCurrentCharacterDraw != 1) { + if (!_skipCurrentCharacterDraw) { if (_backgroundSpriteCurrentAnimation > -1 && _backgroundSpriteCurrentFrame > 0) { drawBackgroundSprites(); } else { @@ -3141,13 +3141,13 @@ int TuckerEngine::executeTableInstruction() { _selectedCharacterDirection = readTableInstructionParam(2); return 0; case kCode_bof: - _skipCurrentCharacterDraw = 1; + _skipCurrentCharacterDraw = true; return 0; case kCode_buh: _noCharacterAnimationChange = readTableInstructionParam(2); return 0; case kCode_bon: - _skipCurrentCharacterDraw = 0; + _skipCurrentCharacterDraw = false; return 0; case kCode_bso: _backgroundSprOffset = readTableInstructionParam(3); |