Race Duel: prettier Margin Boost text

This commit is contained in:
Antonio Martinez 2024-09-10 15:09:40 -07:00
parent 6e51815df3
commit fc56b1c802

View file

@ -4181,7 +4181,10 @@ void K_CheckpointCrossAward(player_t *player)
if (leveltime > DUELOVERTIME) if (leveltime > DUELOVERTIME)
{ {
overtimecheckpoints++; overtimecheckpoints++;
K_AddMessage(va("MARGIN BOOST x%d", overtimecheckpoints), true, false); if (overtimecheckpoints > 1)
K_AddMessage(va("Margin Boost x%d!", overtimecheckpoints), true, false);
else
K_AddMessage(va("Margin Boost!", overtimecheckpoints), true, false);
S_StartSound(NULL, sfx_gsha6); S_StartSound(NULL, sfx_gsha6);
} }