mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-11 05:36:12 +00:00
XEEN: Fix crash entering Volcano Cave level 2
This commit is contained in:
parent
8d62dc92a9
commit
a945de7cf4
@ -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];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user