From cdc25fddc841344c3668819305d361e37402867e Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 6 Feb 2025 17:25:03 +0100 Subject: [PATCH] only apply additive blend to speedlines when any kind of boost is happening to emphasize that ure boosting or smth --- src/k_kart.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/k_kart.c b/src/k_kart.c index 9d0383989..3dbd0015d 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -5566,11 +5566,10 @@ static inline void K_SpawnNormalSpeedLines(player_t *player, boolean synched) fast->color = (leveltime & 1) ? player->mo->color : driftcolor; fast->colorized = true; } - } - //fast->lightlevel = M_RandomRange(200, 255); - //fast->frame |= FF_ABSOLUTELIGHTLEVEL; - fast->blendmode = AST_ADD; + if (goodSpeed && ((player->kartstuff[k_growshrinktimer] > 0) || player->kartstuff[k_invincibilitytimer] || player->kartstuff[k_sneakertimer])) + fast->blendmode = AST_ADD; + } } /** \brief Decreases various kart timers and powers per frame. Called in P_PlayerThink in p_user.c