Fix shadowed declarations

This commit is contained in:
Jaime Passos 2020-01-07 20:07:35 -03:00
parent c85c1550c3
commit e459a44848

View file

@ -1488,8 +1488,8 @@ void R_CacheRotSprite(spritenum_t sprnum, UINT8 frame, spriteinfo_t *sprinfo, sp
if (Picture_IsLumpPNG((const UINT8 *)patch, lumplength)) if (Picture_IsLumpPNG((const UINT8 *)patch, lumplength))
{ {
INT32 pngwidth, pngheight; INT32 pngwidth, pngheight;
INT16 topoffset, leftoffset; INT16 toffs, loffs;
patch = (patch_t *)Picture_PNGConvert((const UINT8 *)patch, PICFMT_PATCH, &pngwidth, &pngheight, &topoffset, &leftoffset, lumplength, NULL, 0); patch = (patch_t *)Picture_PNGConvert((const UINT8 *)patch, PICFMT_PATCH, &pngwidth, &pngheight, &toffs, &loffs, lumplength, NULL, 0);
} }
else else
#endif #endif