From: bones_was_here Date: Mon, 27 Jun 2022 18:17:20 +0000 (+1000) Subject: gl_flashblend: don't ignore r_coronas and don't double the corona size X-Git-Tag: xonotic-v0.8.5^0 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b3c4dc6b1ee7d2d97864b07462100e39bd9b9f5c;p=xonotic%2Fdarkplaces.git gl_flashblend: don't ignore r_coronas and don't double the corona size Fixes ubercoronas and matches the master branch. Signed-off-by: bones_was_here --- diff --git a/r_shadow.c b/r_shadow.c index 44fd8f29..97822b79 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -6154,10 +6154,7 @@ void R_Shadow_DrawCoronas(void) rtlight = r_refdef.scene.lights[i]; if (rtlight->corona_visibility <= 0) continue; - if (gl_flashblend.integer) - R_DrawCorona(rtlight, rtlight->corona, rtlight->radius * rtlight->coronasizescale * 2.0f); - else - R_DrawCorona(rtlight, rtlight->corona * r_coronas.value * 0.25f, rtlight->radius * rtlight->coronasizescale); + R_DrawCorona(rtlight, rtlight->corona * r_coronas.value * 0.25f, rtlight->radius * rtlight->coronasizescale); } }