From cfc977f9e6557952915bee88eec2b8c573fbf406 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Tue, 15 Nov 2016 18:14:18 +0100 Subject: [PATCH] Fix texture coordinate --- src/r_poly_wall.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_poly_wall.cpp b/src/r_poly_wall.cpp index 77742a8f8..aeb6985da 100644 --- a/src/r_poly_wall.cpp +++ b/src/r_poly_wall.cpp @@ -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;