Skip to content

Commit

Permalink
GOB: Fix stupid typo/bug I introduced in 2007
Browse files Browse the repository at this point in the history
Luckily, it apparently didn't have any visible symptoms...
  • Loading branch information
DrMcCoy committed Jun 14, 2012
1 parent 27f2b6e commit 198c116
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engines/gob/mult.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 198c116

Please sign in to comment.