mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
ACCESS: Explicit cast in figuring out fade out pixel values
This commit is contained in:
parent
a6a9315d6e
commit
cc497fb8dc
@ -181,7 +181,7 @@ void Screen::forceFadeOut() {
|
||||
int v = *srcP;
|
||||
if (v) {
|
||||
repeatFlag = true;
|
||||
*srcP = MAX(*srcP - FADE_AMOUNT, 0);
|
||||
*srcP = MAX((int)*srcP - FADE_AMOUNT, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user