MIN() on two different datatypes not allowed...

svn-id: r17551
This commit is contained in:
Marcus Comstedt 2005-04-11 20:34:21 +00:00
parent fa80c6e8ba
commit b9da94d8f1

View File

@ -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;