Oops accidentally left this in.
This commit is contained in:
parent
00f150b832
commit
6caff7c4c7
2 changed files with 2 additions and 14 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2pre r129 \cu(Tue 25 Jan 01:40:52 CET 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.2pre r129 \cu(2022-01-25 01:40:52)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2pre r130 \cu(Tue 25 Jan 01:48:51 CET 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.2pre r130 \cu(2022-01-25 01:48:51)\c-";
|
||||
|
|
|
|||
|
|
@ -2960,18 +2960,6 @@ Class Demolitionist : PlayerPawn
|
|||
{
|
||||
// clean up attached actors
|
||||
if ( selflight ) selflight.Destroy();
|
||||
// get rid of our internal armors to fix some nonsense
|
||||
Actor last = player.mo;
|
||||
while ( last.inv )
|
||||
{
|
||||
let inv = last.inv;
|
||||
if ( (inv is 'AlmasteelPlating') || (inv is 'SayaCollar') )
|
||||
{
|
||||
inv.Destroy();
|
||||
if ( !inv.bDestroyed ) last = inv;
|
||||
}
|
||||
else last = inv;
|
||||
}
|
||||
// inventory wipes
|
||||
if ( invwipe && (player.playerstate != PST_DEAD) )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue