mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-30 22:23:54 +00:00
MADS: Fix crash on leaving planeet
This commit is contained in:
parent
119c179d5a
commit
a22d7f2d5f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user