[Scummvm-cvs-logs] scummvm master -> 47f9a2dd10f8a724060ac720f47f2c18729805f8

Strangerke Strangerke at scummvm.org
Sun Mar 9 00:14:19 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
47f9a2dd10 TUCKER: Fix some values assigned to _skipCurrentCharacterDraw


Commit: 47f9a2dd10f8a724060ac720f47f2c18729805f8
    https://github.com/scummvm/scummvm/commit/47f9a2dd10f8a724060ac720f47f2c18729805f8
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-03-09T00:03:21+01:00

Commit Message:
TUCKER: Fix some values assigned to _skipCurrentCharacterDraw

Changed paths:
    engines/tucker/tucker.cpp



diff --git a/engines/tucker/tucker.cpp b/engines/tucker/tucker.cpp
index 01cdd6a..ad66f30 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);






More information about the Scummvm-git-logs mailing list