mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
Fixed: Masked midtexture yscale incorrectly used the texture's X scale
This commit is contained in:
parent
9388597443
commit
5df21fda68
1 changed files with 1 additions and 1 deletions
|
@ -2539,7 +2539,7 @@ void R_StoreWallRange (int start, int stop)
|
|||
lwal = (fixed_t *)(openings + ds_p->maskedtexturecol);
|
||||
swal = (float *)(openings + ds_p->swall);
|
||||
FTexture *pic = TexMan(sidedef->GetTexture(side_t::mid), true);
|
||||
double yscale = pic->Scale.X * sidedef->GetTextureYScale(side_t::mid);
|
||||
double yscale = pic->Scale.Y * sidedef->GetTextureYScale(side_t::mid);
|
||||
fixed_t xoffset = FLOAT2FIXED(sidedef->GetTextureXOffset(side_t::mid));
|
||||
|
||||
if (pic->bWorldPanning)
|
||||
|
|
Loading…
Reference in a new issue