From e61f08478d29e48f19882a0abdbf719e40f5ae5f Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 1 Jul 2012 22:30:41 +0000 Subject: [PATCH] - Fixed: Revision 3711 broke voxels that need to be drawn offscreen before drawing to the screen. SVN r3725 (trunk) --- src/r_things.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_things.cpp b/src/r_things.cpp index 85c75d7ec..9175785ab 100644 --- a/src/r_things.cpp +++ b/src/r_things.cpp @@ -2511,7 +2511,7 @@ void R_DrawVoxel(fixed_t dasprx, fixed_t daspry, fixed_t dasprz, angle_t daspran dc_iscale = yinc; for (int x = xxl; x < xxr; ++x) { - OffscreenCoverageBuffer->InsertSpan(lxt + x, z1, z1 + z2); + OffscreenCoverageBuffer->InsertSpan(lxt + x, z1, z2); if (!(flags & DVF_SPANSONLY)) { dc_x = lxt + x;