aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/events.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2013-12-31 18:39:38 +1100
committerPaul Gilbert2013-12-31 18:39:38 +1100
commit2d71a0594d10ede390312cf87903da914c2db8c7 (patch)
treeb9aa4da916c7cb68c3d1d1a39162ec8b4178a0a4 /engines/voyeur/events.cpp
parent87a6e72fc55c776796cfe8337d4add5988c9c595 (diff)
downloadscummvm-rg350-2d71a0594d10ede390312cf87903da914c2db8c7.tar.gz
scummvm-rg350-2d71a0594d10ede390312cf87903da914c2db8c7.tar.bz2
scummvm-rg350-2d71a0594d10ede390312cf87903da914c2db8c7.zip
VOYEUR: Fix guilt check post doTapePlaying call
Diffstat (limited to 'engines/voyeur/events.cpp')
-rw-r--r--engines/voyeur/events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/voyeur/events.cpp b/engines/voyeur/events.cpp
index 74d8eeee44..6ac36ddb94 100644
--- a/engines/voyeur/events.cpp
+++ b/engines/voyeur/events.cpp
@@ -409,7 +409,7 @@ void EventsManager::vDoCycleInt() {
// Move palette entry to end of range
int start = READ_LE_UINT16(pSrc);
int end = READ_LE_UINT16(&pSrc[2]);
- assert(start < 0x100 && end <= 0x100);
+ assert(start < 0x100 && end < 0x100);
// Store the RGB of the first entry to be moved
byte r = pPal[start * 3];
@@ -433,7 +433,7 @@ void EventsManager::vDoCycleInt() {
// Move palette entry to start of range
int start = READ_LE_UINT16(pSrc);
int end = READ_LE_UINT16(&pSrc[2]);
- assert(start < 0x100 && end <= 0x100);
+ assert(start < 0x100 && end < 0x100);
// Store the RGB of the entry to be moved
byte r = pPal[end * 3];