aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorColin Snover2017-07-27 20:30:22 -0500
committerColin Snover2017-07-30 19:10:50 -0500
commitba4c28418fcc0bf384619a325aaa73726cf00875 (patch)
tree63220577d1819e37c2a85e2ab019636fc7504800 /engines/sci/engine
parentb13777da8cca2585b6658a53457b2043cc3e8ffc (diff)
downloadscummvm-rg350-ba4c28418fcc0bf384619a325aaa73726cf00875.tar.gz
scummvm-rg350-ba4c28418fcc0bf384619a325aaa73726cf00875.tar.bz2
scummvm-rg350-ba4c28418fcc0bf384619a325aaa73726cf00875.zip
SCI32: Minor code deduplication
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/guest_additions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/guest_additions.cpp b/engines/sci/engine/guest_additions.cpp
index 28b0bca428..a508b5176b 100644
--- a/engines/sci/engine/guest_additions.cpp
+++ b/engines/sci/engine/guest_additions.cpp
@@ -954,7 +954,7 @@ void GuestAdditions::syncTorinVolumeFromScummVM(const int16 musicVolume, const i
const reg_t &soundObj = sound->value;
if (_segMan->isHeapObject(soundObj) && lookupSelector(_segMan, soundObj, selector, nullptr, nullptr) != kSelectorNone) {
- invokeSelector(sound->value, SELECTOR(reSyncVol));
+ invokeSelector(sound->value, selector);
}
soundId = sound->succ;
}