mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Special Stages: fullscreen text when dying at -20 rings
This commit is contained in:
parent
57368ab7c6
commit
f21f7843a0
1 changed files with 6 additions and 0 deletions
|
|
@ -4213,6 +4213,12 @@ static void K_HandleTumbleBounce(player_t *player)
|
||||||
|
|
||||||
if (player->markedfordeath)
|
if (player->markedfordeath)
|
||||||
{
|
{
|
||||||
|
if (player->exiting == false && specialstageinfo.valid == true)
|
||||||
|
{
|
||||||
|
// markedfordeath is when player's die at -20 rings
|
||||||
|
HU_DoTitlecardCEcho(player, "NOT ENOUGH\\RINGS...", false);
|
||||||
|
}
|
||||||
|
|
||||||
player->markedfordeath = false;
|
player->markedfordeath = false;
|
||||||
P_StartQuakeFromMobj(5, 32 * player->mo->scale, 512 * player->mo->scale, player->mo);
|
P_StartQuakeFromMobj(5, 32 * player->mo->scale, 512 * player->mo->scale, player->mo);
|
||||||
P_DamageMobj(player->mo, NULL, NULL, 1, DMG_INSTAKILL);
|
P_DamageMobj(player->mo, NULL, NULL, 1, DMG_INSTAKILL);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue