Fix cantact with duel Hyudoro crashing in GP bonus (trivial)

This commit is contained in:
Antonio Martinez 2025-05-23 03:03:08 -04:00
parent 5f95ad933f
commit d236620adf

View file

@ -599,7 +599,8 @@ hyudoro_patrol_hit_player
P_SetTarget(&hyudoro_target(hyu), master);
K_SpawnAmps(master->player, K_PvPAmpReward(20, master->player, player), toucher);
if (master && !P_MobjWasRemoved(master))
K_SpawnAmps(master->player, K_PvPAmpReward(20, master->player, player), toucher);
if (center)
P_RemoveMobj(center);