mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +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