diff options
-rw-r--r-- | engines/parallaction/exec_br.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/parallaction/exec_br.cpp b/engines/parallaction/exec_br.cpp index c5e53f6a1d..397ab293fa 100644 --- a/engines/parallaction/exec_br.cpp +++ b/engines/parallaction/exec_br.cpp @@ -503,7 +503,13 @@ DECLARE_INSTRUCTION_OPCODE(endif) { DECLARE_INSTRUCTION_OPCODE(stop) { - warning("Parallaction_br::instOp_stop not yet implemented"); + ZonePtr z = (*ctxt._inst)->_z; + if (ACTIONTYPE(z) == kZoneHear) { + warning("Parallaction_br::instOp_stop not yet implemented for HEAR zones"); + // TODO: stop music or sound effects generated by a zone. + } else { + z->_flags &= ~kFlagsActing; + } } DECLARE_INSTRUCTION_OPCODE(loop) { |