From a03988d085642a5bb7e2954930835c966aa611aa Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Wed, 14 Aug 2024 23:01:34 +0800 Subject: [PATCH] [saco] Update `CGame::UpdateFarClippingPlane()` --- saco/game/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saco/game/game.cpp b/saco/game/game.cpp index 49be8e3..035e3c0 100644 --- a/saco/game/game.cpp +++ b/saco/game/game.cpp @@ -705,7 +705,7 @@ void CGame::UpdateFarClippingPlane() if(pPlayerPed) { if(GetActiveInterior() == 0) { - fFarClip = 1250.0f - (pPlayerPed->entity.mat->pos.Z + pPlayerPed->entity.mat->pos.Z); + fFarClip = 1250.0f - (pPlayerPed->entity.mat->pos.Z * 2.0f); if(fFarClip < 700.0f) { fFarClip = 700.0f; }