diff options
author | whiterandrek | 2018-04-07 11:36:09 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | dac8d2a72b427cdecedfe4a951aa6166ce7b3720 (patch) | |
tree | 04bcc501b922dffa5d76ac1ae6a3559eddcda950 /engines/pink/objects/actions/action_sound.cpp | |
parent | 78c4ed85ab7a84b18c8c7fd2e93c6bf2798acab6 (diff) | |
download | scummvm-rg350-dac8d2a72b427cdecedfe4a951aa6166ce7b3720.tar.gz scummvm-rg350-dac8d2a72b427cdecedfe4a951aa6166ce7b3720.tar.bz2 scummvm-rg350-dac8d2a72b427cdecedfe4a951aa6166ce7b3720.zip |
PINK: bugfixes and added basic inventory implementation
Diffstat (limited to 'engines/pink/objects/actions/action_sound.cpp')
-rw-r--r-- | engines/pink/objects/actions/action_sound.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/pink/objects/actions/action_sound.cpp b/engines/pink/objects/actions/action_sound.cpp index f1829a1f19..f4acb50b1f 100644 --- a/engines/pink/objects/actions/action_sound.cpp +++ b/engines/pink/objects/actions/action_sound.cpp @@ -88,4 +88,14 @@ void ActionSound::update() { _actor->endAction(); } +void ActionSound::pause() { + if (_sound) + _sound->pause(); +} + +void ActionSound::unpause() { + if (_sound) + _sound->resume(); +} + } // End of namespace Pink
\ No newline at end of file |