diff options
author | Paul Gilbert | 2015-03-06 20:55:53 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-03-06 20:55:53 -0500 |
commit | a22d7f2d5f27701766dbf36d50e0a31ea7b26d69 (patch) | |
tree | e8c04ef8ed55525bfbe2750c4884d525b83d0e43 /engines/mads/nebular | |
parent | 119c179d5aa432a0dc3e1b522639478cd5377b83 (diff) | |
download | scummvm-rg350-a22d7f2d5f27701766dbf36d50e0a31ea7b26d69.tar.gz scummvm-rg350-a22d7f2d5f27701766dbf36d50e0a31ea7b26d69.tar.bz2 scummvm-rg350-a22d7f2d5f27701766dbf36d50e0a31ea7b26d69.zip |
MADS: Fix crash on leaving planeet
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r-- | engines/mads/nebular/nebular_scenes8.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/mads/nebular/nebular_scenes8.cpp b/engines/mads/nebular/nebular_scenes8.cpp index 64b6c26bbc..4b8d7d5dd8 100644 --- a/engines/mads/nebular/nebular_scenes8.cpp +++ b/engines/mads/nebular/nebular_scenes8.cpp @@ -1604,7 +1604,8 @@ void Scene810::enter() { } void Scene810::step() { - if ((_scene->_activeAnimation->getCurrentFrame() == 200) && _moveAllowed) { + if (_scene->_activeAnimation && (_scene->_activeAnimation->getCurrentFrame() == 200) + && _moveAllowed) { _scene->_sequences.addTimer(100, 70); _moveAllowed = false; } |