From 7e810c6923a3a78ea16eb3a5e30f53532174a322 Mon Sep 17 00:00:00 2001 From: GenericHeroGuy Date: Tue, 30 Sep 2025 00:24:35 +0200 Subject: [PATCH] Fix item boxes inside bustable FOFs messing up collision (closes #100) --- src/p_enemy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_enemy.c b/src/p_enemy.c index 19f15a11e..dbd35965b 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -10632,7 +10632,8 @@ void A_ItemPop(mobj_t *actor) remains->skin = NULL; remains->spawnpoint = actor->spawnpoint; - P_SetTarget(&g_tm.thing, remains); + // a pointless modification of global state causing bizarre collision problems... who could've thought? + //P_SetTarget(&g_tm.thing, remains); //if (actor->info->deathsound) //S_StartSound(remains, actor->info->deathsound);