mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Instaexplode bail if eggmark is rolling OR counting
This commit is contained in:
parent
725882ab76
commit
c224b38685
1 changed files with 7 additions and 7 deletions
14
src/k_kart.c
14
src/k_kart.c
|
|
@ -10992,15 +10992,15 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
mobj_t *bail = P_SpawnMobj(player->mo->x, player->mo->y, player->mo->z + player->mo->height/2, MT_BAIL);
|
||||
P_SetTarget(&bail->target, player->mo);
|
||||
|
||||
if (player->itemRoulette.eggman || player->eggmanexplode)
|
||||
{
|
||||
player->markedfordeath = true;
|
||||
player->eggmanexplode = 1;
|
||||
player->rings = -20;
|
||||
}
|
||||
|
||||
if (player->itemRoulette.active)
|
||||
{
|
||||
if (player->itemRoulette.eggman)
|
||||
{
|
||||
player->markedfordeath = true;
|
||||
player->eggmanexplode = 1;
|
||||
player->rings = -20;
|
||||
}
|
||||
|
||||
player->itemRoulette.active = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue