fix a maybe-uninitialized warning

This commit is contained in:
Alug committed 2024-10-20 00:21:48 +02:00
1 parent f9788a21f6
commit 48a62eeee4
1 file changed
+2 -2
+2 -2
View File
@@ -2527,8 +2527,8 @@ static boolean R_CheckSpriteVisible(vissprite_t *spr, INT32 x1, INT32 x2)
INT16 sz = spr->sz;
INT16 szt = spr->szt;
fixed_t texturemid, yscale, scalestep = spr->scalestep;
INT32 height;
fixed_t texturemid = 0, yscale = 0, scalestep = spr->scalestep; // "= 0" pleases the compiler
INT32 height = 0;
if (scalestep)
{