Try to fix gibs getting stuck in bars.

This commit is contained in:
Mari the Deer 2021-09-06 23:38:28 +02:00
commit ead490dbc3
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1pre r6 \cu(Mon 6 Sep 22:59:00 CEST 2021)\c-";
SWWM_SHORTVER="\cw1.1pre r6 \cu(2021-09-06 22:59:00)\c-";
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1pre r7 \cu(Mon 6 Sep 23:38:28 CEST 2021)\c-";
SWWM_SHORTVER="\cw1.1pre r7 \cu(2021-09-06 23:38:28)\c-";

View file

@ -612,6 +612,8 @@ Class mkFlyingGib : Actor
{
A_Bleed();
A_StartSound("misc/gibhit",CHAN_BODY,CHANF_OVERLAP);
// oops we got squished
if ( floorz >= ceilingz ) ExplodeMissile(null,null);
}
Goto Spawn;
Death: