Use a separate class for voodoo dolls.
This commit is contained in:
parent
1a15ebf911
commit
65b129b716
6 changed files with 49 additions and 30 deletions
|
|
@ -108,7 +108,7 @@ extend Class SWWMHandler
|
|||
LevelInfo nextlv = LevelInfo.FindLevelInfo(e.NextMap);
|
||||
for ( int i=0; i<MAXPLAYERS; i++ )
|
||||
{
|
||||
if ( !playeringame[i] || !players[i].mo || (players[i].playerstate == PST_DEAD) ) continue;
|
||||
if ( !playeringame[i] || !players[i].mo ) continue;
|
||||
let demo = Demolitionist(players[i].mo);
|
||||
if ( !demo ) continue;
|
||||
if ( level.nextsecretmap.Left(6) == "enDSeQ" ) demo.invwipe |= Demolitionist.WIPE_EPISODE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue