diff options
author | Paul Gilbert | 2015-02-21 16:14:59 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-02-21 16:14:59 -0500 |
commit | 549b5d435a897e1f6d306d2bdb902cac18159491 (patch) | |
tree | 8aaa602f2e8bccb0757020a80bda8de7dadd7365 /engines/mads | |
parent | df5742eee41abe7e74a2b47a0ddcc183bf52fe09 (diff) | |
download | scummvm-rg350-549b5d435a897e1f6d306d2bdb902cac18159491.tar.gz scummvm-rg350-549b5d435a897e1f6d306d2bdb902cac18159491.tar.bz2 scummvm-rg350-549b5d435a897e1f6d306d2bdb902cac18159491.zip |
MADS: Fix crash when trapping bouncy native in pit
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/nebular/nebular_scenes2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/mads/nebular/nebular_scenes2.cpp b/engines/mads/nebular/nebular_scenes2.cpp index 94e30aa4f2..d00857f0a2 100644 --- a/engines/mads/nebular/nebular_scenes2.cpp +++ b/engines/mads/nebular/nebular_scenes2.cpp @@ -1745,7 +1745,8 @@ void Scene208::enter() { } void Scene208::step() { - if (_boundingFl && (_rhotundaTime <= _scene->_activeAnimation->getCurrentFrame())) { + if (_boundingFl && _scene->_activeAnimation && + (_rhotundaTime <= _scene->_activeAnimation->getCurrentFrame())) { _rhotundaTime = _scene->_activeAnimation->getCurrentFrame(); if (_rhotundaTime == 125) |