aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/sequenceopcodes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/illusions/sequenceopcodes.cpp')
-rw-r--r--engines/illusions/sequenceopcodes.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/illusions/sequenceopcodes.cpp b/engines/illusions/sequenceopcodes.cpp
index 765247137f..36111a7c55 100644
--- a/engines/illusions/sequenceopcodes.cpp
+++ b/engines/illusions/sequenceopcodes.cpp
@@ -87,7 +87,7 @@ void SequenceOpcodes::initOpcodes() {
OPCODE(28, opNotifyThreadId1);
OPCODE(29, opSetPathCtrY);
// 30-31 unused in Duckman, CHECKME BBDOU
- // TODO OPCODE(32, );
+ OPCODE(32, opDisablePathWalkPoints);
OPCODE(33, opSetPathWalkPoints);
OPCODE(34, opDisableAutoScale);
OPCODE(35, opSetScale);
@@ -296,6 +296,10 @@ void SequenceOpcodes::opSetPathCtrY(Control *control, OpCall &opCall) {
control->_actor->_pathCtrY = pathCtrY;
}
+void SequenceOpcodes::opDisablePathWalkPoints(Control *control, OpCall &opCall) {
+ control->_actor->_flags &= ~2;
+}
+
void SequenceOpcodes::opSetPathWalkPoints(Control *control, OpCall &opCall) {
ARG_INT16(pathWalkPointsIndex);
BackgroundResource *bgRes = _vm->_backgroundInstances->getActiveBgResource();