diff options
author | whiterandrek | 2018-06-09 16:03:49 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | 4fd0ec3ff71614ecbf66ec7f8b414d99c74b1e32 (patch) | |
tree | 46d6e55db0229fecf3fffe3f4a5ab3068d7f6313 | |
parent | a76d86a3429c0203efe7932207bb48322eb92548 (diff) | |
download | scummvm-rg350-4fd0ec3ff71614ecbf66ec7f8b414d99c74b1e32.tar.gz scummvm-rg350-4fd0ec3ff71614ecbf66ec7f8b414d99c74b1e32.tar.bz2 scummvm-rg350-4fd0ec3ff71614ecbf66ec7f8b414d99c74b1e32.zip |
PINK: fix ending of ActionCEL
-rw-r--r-- | engines/pink/objects/actions/action_cel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/pink/objects/actions/action_cel.cpp b/engines/pink/objects/actions/action_cel.cpp index 4596d5d1b5..4b03f68739 100644 --- a/engines/pink/objects/actions/action_cel.cpp +++ b/engines/pink/objects/actions/action_cel.cpp @@ -64,6 +64,8 @@ void ActionCEL::start() { } void ActionCEL::end() { + if (!_decoder) + return; _actor->getPage()->getGame()->getDirector()->removeSprite(this); delete _decoder; _decoder = nullptr; |