diff options
author | md5 | 2011-02-20 00:19:08 +0200 |
---|---|---|
committer | md5 | 2011-02-20 00:19:08 +0200 |
commit | 28dae010fb859b0b42e4f433bc4f72b08c036fbb (patch) | |
tree | d075556ea735310ae02fd801dd4274bcdd335be9 /engines | |
parent | ef38e4f57f32f495b7f1d8289306e6d829394aeb (diff) | |
download | scummvm-rg350-28dae010fb859b0b42e4f433bc4f72b08c036fbb.tar.gz scummvm-rg350-28dae010fb859b0b42e4f433bc4f72b08c036fbb.tar.bz2 scummvm-rg350-28dae010fb859b0b42e4f433bc4f72b08c036fbb.zip |
SAGA: Fixed palette setting inside Gfx::setPaletteColor() (thanks to LordHoto for noticing this)
Diffstat (limited to 'engines')
-rw-r--r-- | engines/saga/gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/gfx.cpp b/engines/saga/gfx.cpp index c46da4cd4e..5fc2082178 100644 --- a/engines/saga/gfx.cpp +++ b/engines/saga/gfx.cpp @@ -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) { |