Skip to content

Commit

Permalink
make coronas render proportionally in sa
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirteenAG committed Jan 8, 2024
1 parent 546f220 commit 7975acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/CLODLights.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ void CLODLights::RenderBuffered()

if (CSprite::CalcScreenCoors(vecCoronaCoordsAfterPull, &vecTransformedCoords, &fComputedWidth, &fComputedHeight, true, true))
{
CSprite::RenderBufferedOneXLUSprite_Rotate_Aspect(vecTransformedCoords.x, vecTransformedCoords.y, vecTransformedCoords.z, aCoronas[i].Size * fComputedWidth, aCoronas[i].Size * fComputedHeight * fColourFogMult, aCoronas[i].Red / fColourFogMult, aCoronas[i].Green / fColourFogMult, aCoronas[i].Blue / fColourFogMult, nFadeIntensity, fInvFarClip * 20.0f, 0.0, 0xFF);
CSprite::RenderBufferedOneXLUSprite_Rotate_Aspect(vecTransformedCoords.x, vecTransformedCoords.y, vecTransformedCoords.z, aCoronas[i].Size * fComputedHeight, aCoronas[i].Size * fComputedHeight * fColourFogMult, aCoronas[i].Red / fColourFogMult, aCoronas[i].Green / fColourFogMult, aCoronas[i].Blue / fColourFogMult, nFadeIntensity, fInvFarClip * 20.0f, 0.0, 0xFF);
}
}
}
Expand Down

0 comments on commit 7975acf

Please sign in to comment.