Skip to content
Snippets Groups Projects
Commit 0309535b authored by Monster Iestyn's avatar Monster Iestyn
Browse files

Merge branch 'fix-sprite-clip-warning' into 'master'

Fix a "maybe-uninitialized" compiler warning

See merge request STJr/SRB2!2145
parents f644877b 1590f2a6
Branches
No related tags found
No related merge requests found
......@@ -3201,8 +3201,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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment