Don't enforce monster fall damage on bosses.

This commit is contained in:
Mari the Deer 2021-12-18 00:50:11 +01:00
commit 7cd5b22296
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.2pre r88 \cu(Sat 18 Dec 00:07:54 CET 2021)\c-";
SWWM_SHORTVER="\cw1.2pre r88 \cu(2021-12-18 00:07:54)\c-";
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.2pre r89 \cu(Sat 18 Dec 00:50:11 CET 2021)\c-";
SWWM_SHORTVER="\cw1.2pre r89 \cu(2021-12-18 00:50:11)\c-";

View file

@ -275,7 +275,7 @@ extend Class SWWMHandler
p.SetStateLabel("Pickup");
}
}
if ( swwm_doomfall && e.Thing.bISMONSTER )
if ( swwm_doomfall && e.Thing.bISMONSTER && !e.Thing.bBOSS )
e.Thing.bFALLDAMAGE = true;
if ( e.Thing is 'Key' )
{