aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Hesse2012-06-14 14:40:33 +0200
committerSven Hesse2012-06-14 14:40:33 +0200
commit198c116061d58c19e5a0bd97f47925bb7d585923 (patch)
tree00b4e8abb2ef3233ffdf143533acde28e289bdd4
parent27f2b6e4dd829663f771fec0651b8a1e31514a90 (diff)
downloadscummvm-rg350-198c116061d58c19e5a0bd97f47925bb7d585923.tar.gz
scummvm-rg350-198c116061d58c19e5a0bd97f47925bb7d585923.tar.bz2
scummvm-rg350-198c116061d58c19e5a0bd97f47925bb7d585923.zip
GOB: Fix stupid typo/bug I introduced in 2007
Luckily, it apparently didn't have any visible symptoms...
-rw-r--r--engines/gob/mult.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gob/mult.cpp b/engines/gob/mult.cpp
index 06a7130cef..b3d7ea6263 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);