- fixed: P_GetMidTexturePosition needs to divide by scale, not multiply, to get the proper offset.

This commit is contained in:
Christoph Oelckers 2016-04-11 23:12:35 +02:00
parent aec1c85c08
commit a97f67edb6

View file

@ -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)