only apply additive blend to speedlines when any kind of boost is happening

to emphasize that ure boosting or smth
This commit is contained in:
Alug committed 2025-02-06 17:25:17 +01:00
1 parent 351f043131
commit cdc25fddc8
1 file changed
+3 -4
+3 -4
View File
@@ -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