- Fixed: Revision 3711 broke voxels that need to be drawn offscreen before drawing to the screen.

SVN r3725 (trunk)
This commit is contained in:
Randy Heit 2012-07-01 22:30:41 +00:00
parent 2d8b43734b
commit e61f08478d

View file

@ -2511,7 +2511,7 @@ void R_DrawVoxel(fixed_t dasprx, fixed_t daspry, fixed_t dasprz, angle_t daspran
dc_iscale = yinc; dc_iscale = yinc;
for (int x = xxl; x < xxr; ++x) for (int x = xxl; x < xxr; ++x)
{ {
OffscreenCoverageBuffer->InsertSpan(lxt + x, z1, z1 + z2); OffscreenCoverageBuffer->InsertSpan(lxt + x, z1, z2);
if (!(flags & DVF_SPANSONLY)) if (!(flags & DVF_SPANSONLY))
{ {
dc_x = lxt + x; dc_x = lxt + x;