From 7ebd6c974cb0aed319b2f7c6a38f909a920b4e6c Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 26 Jan 2015 23:14:16 +0100 Subject: VOYEUR: Fix bug in vDoCycleInt --- engines/voyeur/events.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/voyeur') diff --git a/engines/voyeur/events.cpp b/engines/voyeur/events.cpp index 7ce7351e65..320c92283c 100644 --- a/engines/voyeur/events.cpp +++ b/engines/voyeur/events.cpp @@ -403,7 +403,7 @@ void EventsManager::vDoCycleInt() { int palIndex = READ_LE_UINT16(pSrc); pPal[palIndex * 3] = pSrc[3]; pPal[palIndex * 3 + 1] = pSrc[4]; - pPal[palIndex * 3 + 1] = pSrc[5]; + pPal[palIndex * 3 + 2] = pSrc[5]; pSrc += 6; if ((int16)READ_LE_UINT16(pSrc) >= 0) { -- cgit v1.2.3