From 7867ffa335e4321df78abda97a9f081d4e161378 Mon Sep 17 00:00:00 2001 From: James R Date: Thu, 30 Mar 2023 23:06:50 -0700 Subject: [PATCH] Increase MINZ from 4 fracunits to 16 Prevents sprites from rendering too close to the camera. Such as when precipitation is too close and the sprite corrupts visually. Perspective also breaks down when too close. --- src/r_things.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_things.c b/src/r_things.c index 742f786a9..86de5352e 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -49,7 +49,7 @@ #include "k_kart.h" // HITLAGJITTERS #include "r_fps.h" -#define MINZ (FRACUNIT*4) +#define MINZ (FRACUNIT*16) #define BASEYCENTER (BASEVIDHEIGHT/2) typedef struct