From 018b82b51e682d8e5145d6945fd92b0f63bf19d2 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 28 Apr 2008 19:03:11 +0000 Subject: Fixed bug in KyraEngine_v3::updateCharPal, should fix malcolms palette in scene 42. svn-id: r31760 --- engines/kyra/kyra_v3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/kyra') 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; } -- cgit v1.2.3