mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 06:12:19 +00:00
- fixed: P_GetMidTexturePosition needs to divide by scale, not multiply, to get the proper offset.
This commit is contained in:
parent
aec1c85c08
commit
a97f67edb6
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ bool P_GetMidTexturePosition(const line_t *line, int sideno, double *ptextop, do
|
|||
double textureheight = tex->GetHeight() / totalscale;
|
||||
if (totalscale != 1. && !tex->bWorldPanning)
|
||||
{
|
||||
y_offset *= totalscale;
|
||||
y_offset /= totalscale;
|
||||
}
|
||||
|
||||
if(line->flags & ML_DONTPEGBOTTOM)
|
||||
|
|
Loading…
Reference in a new issue