diff options
Diffstat (limited to 'scumm/sprite_he.cpp')
-rw-r--r-- | scumm/sprite_he.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp index 589cc765c4..45ee0d123e 100644 --- a/scumm/sprite_he.cpp +++ b/scumm/sprite_he.cpp @@ -757,7 +757,7 @@ void ScummEngine_v90he::spriteInfoSet_field_8C_90(int spriteId, int type, int va break; case 0x7E: delay = MAX(0, value); - delay = MIN(value, _spriteTable[spriteId].delayAmount); + delay = MIN((int32)value, _spriteTable[spriteId].delayAmount); _spriteTable[spriteId].delayCount = value; break; |