From 46a311b23c7c09ab7e6701d62a5e8c2c331f43c3 Mon Sep 17 00:00:00 2001 From: Edoardo Prezioso Date: Tue, 1 Nov 2016 09:59:59 +0100 Subject: [PATCH] - Fixed a typo in 1 pixel tall support addition. Found by Clang -Wparentheses warning. --- src/r_plane.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_plane.cpp b/src/r_plane.cpp index c57af953a..810aa0003 100644 --- a/src/r_plane.cpp +++ b/src/r_plane.cpp @@ -1909,7 +1909,7 @@ void R_DrawTiltedPlane (visplane_t *pl, double _xscale, double _yscale, fixed_t { plane_sv[2] = plane_sv[1] = plane_sv[0] = 0; } - if (ds_xbits = 0) + if (ds_xbits == 0) { plane_su[2] = plane_su[1] = plane_su[0] = 0; }