diff options
Diffstat (limited to 'engines/xeen')
-rw-r--r-- | engines/xeen/interface_scene.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/xeen/interface_scene.cpp b/engines/xeen/interface_scene.cpp index 0fdf867448..01f03feed8 100644 --- a/engines/xeen/interface_scene.cpp +++ b/engines/xeen/interface_scene.cpp @@ -420,6 +420,9 @@ void InterfaceScene::drawScene() { // limits as specified by the map's _animationInfo listing for (uint idx = 0; idx < map._mobData._objects.size(); ++idx) { MazeObject &mazeObject = map._mobData._objects[idx]; + if (mazeObject._spriteId == -1) + continue; + AnimationEntry &animEntry = map._animationInfo[mazeObject._spriteId]; int directionIndex = Res.DIRECTION_ANIM_POSITIONS[mazeObject._direction][partyDirection]; |