aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorFilippos Karapetis2015-06-13 22:04:00 +0300
committerFilippos Karapetis2015-06-13 22:04:00 +0300
commit559478defccf0f1e9e7a30a13aff4e2b035d9184 (patch)
tree57dd8d064b3860806fa08bc75e12f8b8c17c55de /engines/sherlock
parent4626e641fca76fd25e2b3e647dfd068e1511538b (diff)
downloadscummvm-rg350-559478defccf0f1e9e7a30a13aff4e2b035d9184.tar.gz
scummvm-rg350-559478defccf0f1e9e7a30a13aff4e2b035d9184.tar.bz2
scummvm-rg350-559478defccf0f1e9e7a30a13aff4e2b035d9184.zip
SHERLOCK: Clean up the parameter passed in talk3DOMovieTrigger()
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/scalpel/scalpel_user_interface.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/scalpel_user_interface.cpp b/engines/sherlock/scalpel/scalpel_user_interface.cpp
index 5dcaf3121d..c8d9aeecc7 100644
--- a/engines/sherlock/scalpel/scalpel_user_interface.cpp
+++ b/engines/sherlock/scalpel/scalpel_user_interface.cpp
@@ -1641,8 +1641,7 @@ void ScalpelUserInterface::doTalkControl() {
}
// Trigger to play 3DO movie
- int selector = _vm->_ui->_selector;
- talk.talk3DOMovieTrigger(selector, 0);
+ talk.talk3DOMovieTrigger(_selector, 0);
talk.waitForMore(talk._statements[_selector]._statement.size());
if (talk._talkToAbort)