[Scummvm-cvs-logs] scummvm master -> 198c116061d58c19e5a0bd97f47925bb7d585923

DrMcCoy drmccoy at drmccoy.de
Thu Jun 14 14:42:08 CEST 2012


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:
198c116061 GOB: Fix stupid typo/bug I introduced in 2007


Commit: 198c116061d58c19e5a0bd97f47925bb7d585923
    https://github.com/scummvm/scummvm/commit/198c116061d58c19e5a0bd97f47925bb7d585923
Author: Sven Hesse (drmccoy at users.sourceforge.net)
Date: 2012-06-14T05:40:33-07:00

Commit Message:
GOB: Fix stupid typo/bug I introduced in 2007

Luckily, it apparently didn't have any visible symptoms...

Changed paths:
    engines/gob/mult.cpp



diff --git a/engines/gob/mult.cpp b/engines/gob/mult.cpp
index 06a7130..b3d7ea6 100644
--- a/engines/gob/mult.cpp
+++ b/engines/gob/mult.cpp
@@ -366,10 +366,11 @@ void Mult::doPalAnim() {
 					palPtr->blue, 0, 0x13);
 
 		palPtr = _vm->_global->_pPaletteDesc->vgaPal;
-		for (_counter = 0; _counter < 16; _counter++, palPtr++)
+		for (_counter = 0; _counter < 16; _counter++, palPtr++) {
 			_vm->_global->_redPalette[_counter] = palPtr->red;
 			_vm->_global->_greenPalette[_counter] = palPtr->green;
 			_vm->_global->_bluePalette[_counter] = palPtr->blue;
+		}
 
 	} else
 		_vm->_video->setFullPalette(_vm->_global->_pPaletteDesc);






More information about the Scummvm-git-logs mailing list