From b55590025cda760b3de7d2fef7627f42c70c420f Mon Sep 17 00:00:00 2001
From: John FrostFox <john.frostfox@gmail.com>
Date: Sun, 28 Nov 2021 00:41:22 +0300
Subject: [PATCH] Inv Sparkles are also affected by Full Bright Players Option

---
 src/p_user.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/p_user.c b/src/p_user.c
index 1787422a0..1edca2074 100755
--- a/src/p_user.c
+++ b/src/p_user.c
@@ -3024,6 +3024,8 @@ static void P_CheckInvincibilityTimer(player_t *player)
 	{
 		mobj_t *sparkle = P_SpawnMobj(player->mo->x, player->mo->y, player->mo->z, MT_IVSP);
 		sparkle->destscale = player->mo->scale;
+		if (cv_playerfullbright.value)
+			sparkle->frame |= FF_FULLBRIGHT;
 		P_SetScale(sparkle, player->mo->scale);
 	}
 
-- 
GitLab