aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/threads
diff options
context:
space:
mode:
authorEric Fry2018-05-29 22:30:54 +1000
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commit423a8ec43351d1cbba84b67ad1c038ea4ca4e108 (patch)
treee929599ecd75feffc8e2bc6cdfc57436985dec20 /engines/illusions/threads
parentbdc477bef9d4ec9691e77c4de867a30d08865c46 (diff)
downloadscummvm-rg350-423a8ec43351d1cbba84b67ad1c038ea4ca4e108.tar.gz
scummvm-rg350-423a8ec43351d1cbba84b67ad1c038ea4ca4e108.tar.bz2
scummvm-rg350-423a8ec43351d1cbba84b67ad1c038ea4ca4e108.zip
ILLUSIONS: Replace 0x40004 with CURSOR_OBJECT_ID constant
Fix pan bug in starship enterprise scene Add sequence opcode name to debug log Hack to fix endless loop bug outside the starship enterprise
Diffstat (limited to 'engines/illusions/threads')
-rw-r--r--engines/illusions/threads/causethread_duckman.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/illusions/threads/causethread_duckman.cpp b/engines/illusions/threads/causethread_duckman.cpp
index 8fb836467a..09f3fa9cf6 100644
--- a/engines/illusions/threads/causethread_duckman.cpp
+++ b/engines/illusions/threads/causethread_duckman.cpp
@@ -39,14 +39,14 @@ CauseThread_Duckman::CauseThread_Duckman(IllusionsEngine_Duckman *vm, uint32 thr
int CauseThread_Duckman::onUpdate() {
if (_flag) {
if (_vm->getCurrentScene() == _sceneId) {
- Control *cursorCursor = _vm->getObjectControl(0x40004);
+ Control *cursorCursor = _vm->getObjectControl(Illusions::CURSOR_OBJECT_ID);
cursorCursor->appearActor();
_vm->_input->discardEvent(kEventLeftClick);
}
return kTSTerminate;
} else {
_sceneId = _vm->getCurrentScene();
- Control *cursorCursor = _vm->getObjectControl(0x40004);
+ Control *cursorCursor = _vm->getObjectControl(Illusions::CURSOR_OBJECT_ID);
cursorCursor->disappearActor();
_vm->_input->discardEvent(kEventLeftClick);
_vm->startScriptThread(_triggerThreadId, _threadId);