Cast animtimer to int before negating

Stops a Visual Studio compile error.
This commit is contained in:
wolfy852 2019-01-06 03:02:12 -06:00
parent 7176490d5e
commit e115dbf34f
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ static void F_SkyScroll(INT32 scrollspeed)
{ {
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, 120); V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, 120);
x = -animtimer; x = -((INT32)animtimer);
y = 0; y = 0;
while (x < w) while (x < w)
{ {