diff options
-rw-r--r-- | engines/illusions/actor.cpp | 1 | ||||
-rw-r--r-- | engines/illusions/resources/actorresource.cpp | 2 | ||||
-rw-r--r-- | engines/illusions/sequenceopcodes.cpp | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/engines/illusions/actor.cpp b/engines/illusions/actor.cpp index dba119550d..74d57d32b7 100644 --- a/engines/illusions/actor.cpp +++ b/engines/illusions/actor.cpp @@ -1033,6 +1033,7 @@ void Controls::placeBackgroundObject(BackgroundObject *backgroundObject) { control->activateObject(); _controls.push_front(control); _vm->_dict->setObjectControl(control->_objectId, control); + debug(0, "Added background control. objectId: %08X", control->_objectId); } void Controls::placeActor(uint32 actorTypeId, Common::Point placePt, uint32 sequenceId, uint32 objectId, uint32 notifyThreadId) { diff --git a/engines/illusions/resources/actorresource.cpp b/engines/illusions/resources/actorresource.cpp index 2152b7793c..59e2294c6e 100644 --- a/engines/illusions/resources/actorresource.cpp +++ b/engines/illusions/resources/actorresource.cpp @@ -123,7 +123,7 @@ void ActorResource::load(Resource *resource) { _actorTypes.push_back(actorType); } - // Load sequences + // Load sequences stream.seek(0x08); uint sequencesCount = stream.readUint16LE(); stream.seek(0x14); diff --git a/engines/illusions/sequenceopcodes.cpp b/engines/illusions/sequenceopcodes.cpp index b07e9ecbaa..53c72b9a28 100644 --- a/engines/illusions/sequenceopcodes.cpp +++ b/engines/illusions/sequenceopcodes.cpp @@ -253,7 +253,7 @@ void SequenceOpcodes::opAppearForeignActor(Control *control, OpCall &opCall) { ARG_INT16(foreignObjectNum); Control *foreignControl = _vm->_dict->getObjectControl(foreignObjectNum | 0x40000); if (!foreignControl) { - Common::Point pos = _vm->getNamedPointPosition(0x00070023); + Common::Point pos = _vm->getNamedPointPosition(0x00070023); // TODO Eric check this. duckman looks to be using 0x70001 _vm->_controls->placeActor(0x00050001, pos, 0x00060001, foreignObjectNum | 0x40000, 0); foreignControl = _vm->_dict->getObjectControl(foreignObjectNum | 0x40000); } |