aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/exec_br.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2009-03-29 13:56:16 +0000
committerNicola Mettifogo2009-03-29 13:56:16 +0000
commit666f0720ab801e8e9df4a8e65f452044b110f7b2 (patch)
tree92ab19ec096d2335463e6545ee8ca215f8e5b451 /engines/parallaction/exec_br.cpp
parent340b0e632eabec16a9ee07545bc57b9ca6f78660 (diff)
downloadscummvm-rg350-666f0720ab801e8e9df4a8e65f452044b110f7b2.tar.gz
scummvm-rg350-666f0720ab801e8e9df4a8e65f452044b110f7b2.tar.bz2
scummvm-rg350-666f0720ab801e8e9df4a8e65f452044b110f7b2.zip
(Re)link bounding animations after location has been completely parsed. This avoids problems due to forward references.
svn-id: r39740
Diffstat (limited to 'engines/parallaction/exec_br.cpp')
-rw-r--r--engines/parallaction/exec_br.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/parallaction/exec_br.cpp b/engines/parallaction/exec_br.cpp
index 8821db4e3c..c333a284da 100644
--- a/engines/parallaction/exec_br.cpp
+++ b/engines/parallaction/exec_br.cpp
@@ -115,14 +115,11 @@ void Parallaction_br::clearSubtitles() {
DECLARE_COMMAND_OPCODE(location) {
- warning("Parallaction_br::cmdOp_location command not yet implemented");
-
_vm->_location._startPosition = ctxt._cmd->_startPos;
- _vm->_location._startFrame = 0; // TODO: verify this against the disassembly!f
+ _vm->_location._startFrame = 0;
_vm->_location._followerStartPosition = ctxt._cmd->_startPos2;
_vm->_location._followerStartFrame = 0;
- // TODO: handle startPos and startPos2
_vm->scheduleLocationSwitch(ctxt._cmd->_string);
}