aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/sprite_he.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp
index 6e014a701c..7527319195 100644
--- a/scumm/sprite_he.cpp
+++ b/scumm/sprite_he.cpp
@@ -563,7 +563,8 @@ void ScummEngine_v90he::spriteInfoSet_resetSprite(int spriteId) {
_spriteTable[spriteId].rot_angle = 0;
_spriteTable[spriteId].zoom = 0;
- spriteInfoSet_addImageToList(spriteId, 1, &spriteId);
+ int tmp = 0;
+ spriteInfoSet_addImageToList(spriteId, 1, &tmp);
_spriteTable[spriteId].field_54 = 0;
_spriteTable[spriteId].tx = 0;