From 6d6fcbe246e0dae263b8cd35743c3fc429ae2d0d Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Wed, 1 May 2013 02:27:07 +0000 Subject: [PATCH] - For the sake of better testing, use 2D sprite sorting unconditionally and not just when a voxel is in view. Hopefully I'm just being paranoid, but I don't trust it to go well with clipping sprites to walls. SVN r4244 (trunk) --- src/r_things.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/r_things.cpp b/src/r_things.cpp index 9bdba99f9..38c4f1fc1 100644 --- a/src/r_things.cpp +++ b/src/r_things.cpp @@ -1981,6 +1981,7 @@ void R_DrawHeightPlanes(fixed_t height); // kg3D - fake planes void R_DrawMasked (void) { + DrewAVoxel = true; // TESTME R_SortVisSprites (DrewAVoxel ? sv_compare2d : sv_compare, firstvissprite - vissprites); if (height_top == NULL)