aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2015-01-26 23:14:16 +0100
committerStrangerke2015-01-26 23:14:16 +0100
commit7ebd6c974cb0aed319b2f7c6a38f909a920b4e6c (patch)
tree75a315ab2faca1fe4b8f34a4f776a7fe06f7ef63
parent27febf8574c81c43375067346f9733df37f2d6d2 (diff)
downloadscummvm-rg350-7ebd6c974cb0aed319b2f7c6a38f909a920b4e6c.tar.gz
scummvm-rg350-7ebd6c974cb0aed319b2f7c6a38f909a920b4e6c.tar.bz2
scummvm-rg350-7ebd6c974cb0aed319b2f7c6a38f909a920b4e6c.zip
VOYEUR: Fix bug in vDoCycleInt
-rw-r--r--engines/voyeur/events.cpp2
1 files changed, 1 insertions, 1 deletions
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) {