From 21a66189194d277a98b8337cc077c11179d81d34 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 26 Jan 2015 22:30:51 +0100 Subject: VOYEUR: Add missing break --- engines/voyeur/files_threads.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/voyeur') diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp index 0615c67ba0..53eb5ce3c5 100644 --- a/engines/voyeur/files_threads.cpp +++ b/engines/voyeur/files_threads.cpp @@ -1082,6 +1082,7 @@ int ThreadResource::doApt() { break; case 2: _vm->_voy->_aptLoadMode = 142; + break; case 5: _vm->_voy->_aptLoadMode = 141; break; -- cgit v1.2.3 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 From 742b04cc49b499397e8b8e7e426e4d313ffcdc98 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 31 May 2015 09:21:47 +0200 Subject: VOYEUR: Remove unnecessary semicolon --- 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 320c92283c..34ef507ad3 100644 --- a/engines/voyeur/events.cpp +++ b/engines/voyeur/events.cpp @@ -76,7 +76,7 @@ EventsManager::EventsManager(VoyeurEngine *vm) : _intPtr(_gameData), _leftClick = _rightClick = false; _mouseClicked = _newMouseClicked = false; - _newLeftClick = _newRightClick = false;; + _newLeftClick = _newRightClick = false; _videoDead = 0; -- cgit v1.2.3