SCUMM: Fix compilation with MSVC

This commit is contained in:
Filippos Karapetis 2024-07-03 03:02:13 +03:00
parent 3bf8584199
commit c5948672ff

View File

@ -714,7 +714,7 @@ void SmushPlayer::handleDeltaPalette(int32 subSize, Common::SeekableReadStream &
for (int i = 0; i < 768; ++i) {
_shiftedDeltaPal[i] += _deltaPal[i];
_pal[i] = CLIP(_shiftedDeltaPal[i] >> 7, 0, 255);
_pal[i] = CLIP<int32>(_shiftedDeltaPal[i] >> 7, 0, 255);
}
setDirtyColors(0, 255);