ref: 592f0115416a1571209d1889dc0e2bff0b96f2a9
parent: f81b5c7b3e7c24364fce681ad3d7ba18119a867b
author: Turo Lamminen <[email protected]>
date: Mon Jan 13 07:44:15 EST 2020
heretic: Fix uninitialized memory use when calling R_DrawVisSprite from R_DrawPSprite
--- a/src/heretic/r_things.c
+++ b/src/heretic/r_things.c
@@ -713,6 +713,7 @@
vis = &avis;
vis->mobjflags = 0;
vis->psprite = true;
+ vis->footclip = 0;
vis->texturemid =
(BASEYCENTER << FRACBITS) + FRACUNIT / 2 - (psp->sy -
spritetopoffset[lump]);