mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Merge branch 'fix-double-bombs' into awful-mix
This commit is contained in:
commit
732eb4cafa
1 changed files with 0 additions and 3 deletions
|
@ -4022,9 +4022,6 @@ static inline boolean PIT_MineExplode(mobj_t *thing)
|
||||||
if (G_BattleGametype() && grenade->target && grenade->target->player && grenade->target->player->kartstuff[k_bumper] <= 0 && thing == grenade->target)
|
if (G_BattleGametype() && grenade->target && grenade->target->player && grenade->target->player->kartstuff[k_bumper] <= 0 && thing == grenade->target)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (thing->player && thing->player->powers[pw_flashing] == K_GetKartFlashing(thing->player)) // we literally got bombed that frame
|
|
||||||
return true;
|
|
||||||
|
|
||||||
// see if it went over / under
|
// see if it went over / under
|
||||||
if (grenade->z - explodedist > thing->z + thing->height)
|
if (grenade->z - explodedist > thing->z + thing->height)
|
||||||
return true; // overhead
|
return true; // overhead
|
||||||
|
|
Loading…
Reference in a new issue