- initialize variable to make Valgrind happy.

This commit is contained in:
Christoph Oelckers 2017-01-18 01:53:15 +01:00
parent 207f81cc37
commit b41d4d9f84
1 changed files with 1 additions and 0 deletions

View File

@ -1363,6 +1363,7 @@ void R_DrawPSprite(DPSprite *pspr, AActor *owner, float bobx, float boby, double
vis = &avis[vispspindex]; vis = &avis[vispspindex];
vis->renderflags = owner->renderflags; vis->renderflags = owner->renderflags;
vis->floorclip = 0; vis->floorclip = 0;
vis->sector = nullptr;
vis->texturemid = (BASEYCENTER - sy) * tex->Scale.Y + tex->TopOffset; vis->texturemid = (BASEYCENTER - sy) * tex->Scale.Y + tex->TopOffset;