K_BananaBallhogCollide: wipe T2 if it's not safe to access

This commit is contained in:
toaster 2023-03-23 22:08:55 +00:00
parent bf64d7a0c1
commit 5c1e063483

View file

@ -124,6 +124,7 @@ boolean K_BananaBallhogCollide(mobj_t *t1, mobj_t *t2)
else
{
bounceangle = K_MomentumAngle(t1) + ANGLE_90;
t2 = NULL; // handles the arguments to P_KillMobj
}
// This Item Damage