Vissprites: set dc.texheight
Fixes power-of-2 detection in R_DrawColumnTemplate.
This commit is contained in:
parent
976c08d4df
commit
917b549f46
1 changed files with 1 additions and 1 deletions
|
|
@ -1155,7 +1155,7 @@ static void R_DrawPrecipitationVisSprite(vissprite_t *vis)
|
|||
|
||||
dc.iscale = FixedDiv(FRACUNIT, vis->scale);
|
||||
dc.texturemid = FixedDiv(vis->texturemid, this_scale);
|
||||
dc.texheight = 0;
|
||||
dc.texheight = patch->height;
|
||||
|
||||
frac = vis->startfrac;
|
||||
spryscale = vis->scale;
|
||||
|
|
|
|||
Loading…
Reference in a new issue