mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Fix mines with no target checking pickmeup
This commit is contained in:
parent
84fff960f2
commit
cd68af7e92
1 changed files with 7 additions and 5 deletions
|
|
@ -273,14 +273,16 @@ static inline BlockItReturn_t PIT_SSMineSearch(mobj_t *thing)
|
||||||
|
|
||||||
if (!cv_debugpickmeup.value)
|
if (!cv_debugpickmeup.value)
|
||||||
{
|
{
|
||||||
if (thing == grenade->target) // Don't blow up at your owner instantly.
|
if (grenade->target && !P_MobjWasRemoved(grenade->target))
|
||||||
return BMIT_CONTINUE;
|
{
|
||||||
|
if (thing == grenade->target) // Don't blow up at your owner instantly.
|
||||||
|
return BMIT_CONTINUE;
|
||||||
|
|
||||||
if (grenade->target->player && thing->player && G_SameTeam(grenade->target->player, thing->player))
|
if (grenade->target->player && thing->player && G_SameTeam(grenade->target->player, thing->player))
|
||||||
return BMIT_CONTINUE;
|
return BMIT_CONTINUE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (PIT_SSMineChecks(thing) == true)
|
if (PIT_SSMineChecks(thing) == true)
|
||||||
return BMIT_CONTINUE;
|
return BMIT_CONTINUE;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue