From b1b771fea499d89868b27b3680ad28058fe84d98 Mon Sep 17 00:00:00 2001 From: ThirteenAG Date: Wed, 29 Nov 2023 20:33:21 +0800 Subject: [PATCH] radius fix --- source/GTALCS.PPSSPP.Project2DFX/lodl.c | 2 +- source/GTAVCS.PPSSPP.Project2DFX/lodl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/GTALCS.PPSSPP.Project2DFX/lodl.c b/source/GTALCS.PPSSPP.Project2DFX/lodl.c index 93fd1d538..cfb957726 100644 --- a/source/GTALCS.PPSSPP.Project2DFX/lodl.c +++ b/source/GTALCS.PPSSPP.Project2DFX/lodl.c @@ -4796,7 +4796,7 @@ void RenderLODLightsBuffered() WorldPos.x = aLodLights[i].x; WorldPos.y = aLodLights[i].y; WorldPos.z = aLodLights[i].z; - SZ = fRadius; + SZ = fRadius * aLodLights[i].fCustomSizeMult * fCoronaRadiusMultiplier; if (CSprite__CalcScreenCoors(&WorldPos, &ScreenPos, &SZX, &SZY, 1)) { diff --git a/source/GTAVCS.PPSSPP.Project2DFX/lodl.c b/source/GTAVCS.PPSSPP.Project2DFX/lodl.c index b235731e5..c8e3f9597 100644 --- a/source/GTAVCS.PPSSPP.Project2DFX/lodl.c +++ b/source/GTAVCS.PPSSPP.Project2DFX/lodl.c @@ -4043,7 +4043,7 @@ void RenderLODLightsBuffered() WorldPos.x = aLodLights[i].x; WorldPos.y = aLodLights[i].y; WorldPos.z = aLodLights[i].z; - SZ = fRadius; + SZ = fRadius * aLodLights[i].fCustomSizeMult * fCoronaRadiusMultiplier; if (CSprite__CalcScreenCoors(&WorldPos, &ScreenPos, &SZX, &SZY, 1)) {