mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-26 11:46:54 +00:00
MIN() on two different datatypes not allowed...
svn-id: r17551
This commit is contained in:
parent
fa80c6e8ba
commit
b9da94d8f1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user