Fix texture coordinate

This commit is contained in:
Magnus Norddahl 2016-11-15 18:14:18 +01:00
parent ee15856786
commit cfc977f9e6

View file

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