diff options
-rw-r--r-- | engines/mads/nebular/nebular_scenes4.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/nebular/nebular_scenes4.cpp b/engines/mads/nebular/nebular_scenes4.cpp index 980f77004a..1bb53ed857 100644 --- a/engines/mads/nebular/nebular_scenes4.cpp +++ b/engines/mads/nebular/nebular_scenes4.cpp @@ -4027,10 +4027,10 @@ void Scene413::enter() { } void Scene413::step() { - if (_scene->_activeAnimation->getCurrentFrame() == 38) + if (_scene->_activeAnimation && _scene->_activeAnimation->getCurrentFrame() == 38) _scene->_activeAnimation->setCurrentFrame(37); - if ((_scene->_activeAnimation->getCurrentFrame() == 21) && _canMove) { + if (_scene->_activeAnimation && _scene->_activeAnimation->getCurrentFrame() == 21 && _canMove) { _vm->_sound->command(27); _canMove = false; } |