MADS: Fix crash on leaving planeet

This commit is contained in:
Paul Gilbert 2015-03-06 20:55:53 -05:00
parent 119c179d5a
commit a22d7f2d5f

View File

@ -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;
}