Fix texture coordinate

This commit is contained in:
Magnus Norddahl 2016-11-15 18:14:18 +01:00
parent ee15856786
commit cfc977f9e6
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ void PolyWallTextureCoords::CalcVBottomPart(FTexture *tex, const seg_t *line, do
} }
else else
{ {
v1 = -yoffset + (unpeggedceil - topz); v1 = yoffset + (unpeggedceil - topz);
v2 = v1 + (topz - bottomz); v2 = v1 + (topz - bottomz);
v1 *= vscale; v1 *= vscale;
v2 *= vscale; v2 *= vscale;