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_cel.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_cel.cpp')
-rw-r--r-- | engines/pink/objects/actions/action_cel.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/pink/objects/actions/action_cel.cpp b/engines/pink/objects/actions/action_cel.cpp index e9e524726c..33e8823429 100644 --- a/engines/pink/objects/actions/action_cel.cpp +++ b/engines/pink/objects/actions/action_cel.cpp @@ -80,7 +80,15 @@ void ActionCEL::update() { } ActionCEL::~ActionCEL() { - delete _decoder; + end(); +} + +void ActionCEL::pause() { + _decoder->pauseVideo(1); +} + +void ActionCEL::unpause() { + _decoder->pauseVideo(0); } } // End of namespace Pink
\ No newline at end of file |