MIN() on two different datatypes not allowed...
svn-id: r17551
This commit is contained in:
parent
fa80c6e8ba
commit
b9da94d8f1
1 changed files with 1 additions and 1 deletions
|
@ -757,7 +757,7 @@ void ScummEngine_v90he::spriteInfoSet_field_8C_90(int spriteId, int type, int va
|
||||||
break;
|
break;
|
||||||
case 0x7E:
|
case 0x7E:
|
||||||
delay = MAX(0, value);
|
delay = MAX(0, value);
|
||||||
delay = MIN(value, _spriteTable[spriteId].delayAmount);
|
delay = MIN((int32)value, _spriteTable[spriteId].delayAmount);
|
||||||
|
|
||||||
_spriteTable[spriteId].delayCount = value;
|
_spriteTable[spriteId].delayCount = value;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue