Ensure pain elementals don't spawn lost souls when killed by ynykron.

This commit is contained in:
Mari the Deer 2022-09-27 16:46:04 +02:00
commit 088928ce06
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r516 \cu(Tue 27 Sep 16:45:45 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.3pre r516 \cu(2022-09-27 16:45:45)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r517 \cu(Tue 27 Sep 16:46:04 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.3pre r517 \cu(2022-09-27 16:46:04)\c-";

View file

@ -150,6 +150,7 @@ Class IDontFeelSoGood : Thinker
return;
}
if ( silence ) goner.A_StopAllSounds();
goner.DamageType = 'Massacre'; // prevents enemies such as pain elementals from spawning anything
// special handling for some bosses:
// - D'Sparil does not spawn, he's already gone
// - Korax doesn't leave ghosts