Skip to content

Commit

Permalink
radius fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirteenAG committed Nov 29, 2023
1 parent dcba7d0 commit b1b771f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/GTALCS.PPSSPP.Project2DFX/lodl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down
2 changes: 1 addition & 1 deletion source/GTAVCS.PPSSPP.Project2DFX/lodl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit b1b771f

Please sign in to comment.