From 79bec5e562aaeee5e9ed823676f00c2e901d3923 Mon Sep 17 00:00:00 2001 From: Julia Nechaevskaya Date: Tue, 16 May 2023 09:18:38 +0300 Subject: [PATCH] Substract `VIEWHEIGHT` in capped framerate --- src/doom/crlfunc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doom/crlfunc.c b/src/doom/crlfunc.c index 22ea7852..5f14d821 100644 --- a/src/doom/crlfunc.c +++ b/src/doom/crlfunc.c @@ -131,7 +131,7 @@ void CRL_Get_MAX (void) { CRL_MAX_x = CRL_camera_x; CRL_MAX_y = CRL_camera_y; - CRL_MAX_z = CRL_camera_z; + CRL_MAX_z = CRL_camera_z - VIEWHEIGHT; CRL_MAX_ang = CRL_camera_ang; } }