mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 03:51:50 +00:00
Kill mine when running into it during explosion state
Fixes punting a mine if you run straight into it while invincible.
This commit is contained in:
parent
5ffcfb558f
commit
45dad16e4c
1 changed files with 1 additions and 1 deletions
|
|
@ -343,7 +343,7 @@ boolean K_MineCollide(mobj_t *t1, mobj_t *t2)
|
||||||
|
|
||||||
// Bomb punting
|
// Bomb punting
|
||||||
if ((t1->state >= &states[S_SSMINE1] && t1->state <= &states[S_SSMINE4])
|
if ((t1->state >= &states[S_SSMINE1] && t1->state <= &states[S_SSMINE4])
|
||||||
|| (t1->state >= &states[S_SSMINE_DEPLOY8] && t1->state <= &states[S_SSMINE_DEPLOY13]))
|
|| (t1->state >= &states[S_SSMINE_DEPLOY8] && t1->state <= &states[S_SSMINE_EXPLODE2]))
|
||||||
{
|
{
|
||||||
P_KillMobj(t1, t2, t2, DMG_NORMAL);
|
P_KillMobj(t1, t2, t2, DMG_NORMAL);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue