From b3c4dc6b1ee7d2d97864b07462100e39bd9b9f5c Mon Sep 17 00:00:00 2001
From: bones_was_here <bones_was_here@xa.org.au>
Date: Tue, 28 Jun 2022 04:17:20 +1000
Subject: [PATCH] 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 <bones_was_here@xa.org.au>
---
 r_shadow.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

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);
 	}
 }
 
-- 
2.39.5