aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/actors/lead_actor.cpp
diff options
context:
space:
mode:
authorAndrei Prykhodko2018-07-02 11:46:21 +0300
committerAndrei Prykhodko2018-07-02 11:47:22 +0300
commit8ec93852adc93bfc9ef2a12983cba063e837534f (patch)
treeb828680227cb28f1e15fe2c62e95f74a95dff62f /engines/pink/objects/actors/lead_actor.cpp
parent7e3c586412c63c9a26a206a41b4e2d449906b8aa (diff)
downloadscummvm-rg350-8ec93852adc93bfc9ef2a12983cba063e837534f.tar.gz
scummvm-rg350-8ec93852adc93bfc9ef2a12983cba063e837534f.tar.bz2
scummvm-rg350-8ec93852adc93bfc9ef2a12983cba063e837534f.zip
PINK: fixed stopping audioInfo before starting walk
Diffstat (limited to 'engines/pink/objects/actors/lead_actor.cpp')
-rw-r--r--engines/pink/objects/actors/lead_actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pink/objects/actors/lead_actor.cpp b/engines/pink/objects/actors/lead_actor.cpp
index 357d739a40..7e75c8a8f0 100644
--- a/engines/pink/objects/actors/lead_actor.cpp
+++ b/engines/pink/objects/actors/lead_actor.cpp
@@ -221,8 +221,8 @@ void LeadActor::onLeftButtonClick(const Common::Point point) {
} else if (clickedActor->isSupporting()) {
if (isInteractingWith(clickedActor)) {
_recipient = clickedActor;
+ _audioInfoMgr.stop();
if (!startWalk()) {
- _audioInfoMgr.stop();
if (_isHaveItem)
sendUseClickMessage(clickedActor);
else