mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-05 00:12:16 +00:00
K_BananaBallhogCollide: wipe T2 if it's not safe to access
This commit is contained in:
parent
bf64d7a0c1
commit
5c1e063483
1 changed files with 1 additions and 0 deletions
|
|
@ -124,6 +124,7 @@ boolean K_BananaBallhogCollide(mobj_t *t1, mobj_t *t2)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
bounceangle = K_MomentumAngle(t1) + ANGLE_90;
|
bounceangle = K_MomentumAngle(t1) + ANGLE_90;
|
||||||
|
t2 = NULL; // handles the arguments to P_KillMobj
|
||||||
}
|
}
|
||||||
|
|
||||||
// This Item Damage
|
// This Item Damage
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue