aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/saga/gfx.cpp2
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) {