mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-16 01:31:26 +00:00
added return
This commit is contained in:
parent
6fa4c27bf6
commit
995f2a9d06
1 changed files with 5 additions and 4 deletions
|
@ -456,13 +456,14 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
|
|||
if (!P_CanPickupItem(player, 2))
|
||||
return;
|
||||
|
||||
/*if (G_BattleGametype() && player->kartstuff[k_bumper] <= 0)
|
||||
if (G_BattleGametype() && player->kartstuff[k_bumper] <= 0)
|
||||
{
|
||||
if (player->kartstuff[k_comebackmode] != 0 || player->kartstuff[k_comebacktimer])
|
||||
/*if (player->kartstuff[k_comebackmode] != 0 || player->kartstuff[k_comebacktimer])
|
||||
return;
|
||||
if (player->kartstuff[k_comebackmode] == 0)
|
||||
player->kartstuff[k_comebackmode] = 2;
|
||||
}*/
|
||||
player->kartstuff[k_comebackmode] = 2;*/
|
||||
return;
|
||||
}
|
||||
|
||||
{
|
||||
mobj_t *poof = P_SpawnMobj(special->x, special->y, special->z, MT_EXPLODE);
|
||||
|
|
Loading…
Reference in a new issue