Skip to content

Commit

Permalink
SAGA: Fixed palette setting inside Gfx::setPaletteColor() (thanks to …
Browse files Browse the repository at this point in the history
…LordHoto for noticing this)
  • Loading branch information
bluegr committed Feb 19, 2011
1 parent ef38e4f commit 28dae01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/saga/gfx.cpp
Expand Up @@ -238,7 +238,7 @@ void Gfx::setPaletteColor(int n, int r, int g, int b) {
}

if (update)
_system->getPaletteManager()->setPalette(_currentPal, n, 1);
_system->getPaletteManager()->setPalette(_currentPal + n * 3, n, 1);
}

void Gfx::getCurrentPal(PalEntry *src_pal) {
Expand Down

0 comments on commit 28dae01

Please sign in to comment.