From 8874ccb9de1936c7fc1ae83bccd3d85344617285 Mon Sep 17 00:00:00 2001 From: whitertandrek Date: Thu, 22 Mar 2018 14:51:13 +0200 Subject: PINK: added debug information to actions --- engines/pink/objects/actions/action_sound.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/pink/objects/actions/action_sound.cpp') diff --git a/engines/pink/objects/actions/action_sound.cpp b/engines/pink/objects/actions/action_sound.cpp index f389f97a1a..38f8687d33 100644 --- a/engines/pink/objects/actions/action_sound.cpp +++ b/engines/pink/objects/actions/action_sound.cpp @@ -56,9 +56,12 @@ void ActionSound::start(bool unk) { _sound->play(soundType, _volume, _isLoop); if (_isLoop) _actor->endAction(); + + debug("Actor %s has now ActionSound %s", _actor->getName().c_str(), _name.c_str()); } void ActionSound::end() { + debug("ActionSound %s of Actor %s is ended", _name.c_str(), _actor->getName().c_str()); _sound->stop(); delete _sound; _sound = nullptr; -- cgit v1.2.3