revert this

This commit is contained in:
Alug committed 2024-08-03 17:36:07 +02:00
1 parent 67542d3cf1
commit 8b60fb6b6c
1 file changed
-7
-7
View File
@@ -4139,13 +4139,6 @@ void K_UpdateHnextList(player_t *player, boolean clean)
P_RemoveMobj(work);
}
if (player->mo->hnext == NULL || P_MobjWasRemoved(player->mo->hnext))
{
// Like below, try to clean up the pointer if it's NULL.
// Maybe this was a cause of the shrink/eggbox fails?
P_SetTarget(&player->mo->hnext, NULL);
}
}
// For getting hit!