MADS: Fix crash when trapping bouncy native in pit

This commit is contained in:
Paul Gilbert 2015-02-21 16:14:59 -05:00
parent df5742eee4
commit 549b5d435a

View File

@ -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)