SAGA: Fixed palette setting inside Gfx::setPaletteColor() (thanks to LordHoto for noticing this)

This commit is contained in:
md5 2011-02-20 00:19:08 +02:00
parent ef38e4f57f
commit 28dae010fb

View File

@ -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) {