aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2008-04-28 19:03:11 +0000
committerJohannes Schickel2008-04-28 19:03:11 +0000
commit018b82b51e682d8e5145d6945fd92b0f63bf19d2 (patch)
treeda9a724859d190193e35572b791a860249ea4f4a /engines/kyra
parente95a4b42acda5c53d88701f7b5f8c38c50db1c37 (diff)
downloadscummvm-rg350-018b82b51e682d8e5145d6945fd92b0f63bf19d2.tar.gz
scummvm-rg350-018b82b51e682d8e5145d6945fd92b0f63bf19d2.tar.bz2
scummvm-rg350-018b82b51e682d8e5145d6945fd92b0f63bf19d2.zip
Fixed bug in KyraEngine_v3::updateCharPal, should fix malcolms palette in scene 42.
svn-id: r31760
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/kyra_v3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/kyra_v3.cpp b/engines/kyra/kyra_v3.cpp
index 32e2989444..1d38981db3 100644
--- a/engines/kyra/kyra_v3.cpp
+++ b/engines/kyra/kyra_v3.cpp
@@ -964,7 +964,7 @@ void KyraEngine_v3::updateCharPal(int unk1) {
++dst;
++sceneDatPal;
++j;
- if (j > 3) {
+ if (j >= 3) {
sceneDatPal = &_sceneDatPalette[layer * 3];
j = 0;
}