Hotfix: Ice death gibbing caused a crash due to the playerpawn ceasing to exist too early.
Updated patrons.
This commit is contained in:
parent
090768e544
commit
32afdb2cee
2 changed files with 11 additions and 5 deletions
|
|
@ -933,7 +933,7 @@ Class UTPlayer : DoomPlayer
|
|||
|| InStateSequence(CurState,FindState("Turn")) )
|
||||
SetStateLabel("See2");
|
||||
}
|
||||
else if ( !bNoGravity && (waterlevel < 1) )
|
||||
else if ( !bNoGravity && (waterlevel < 1) && abs(pos.z-floorz) > maxstepheight )
|
||||
{
|
||||
// Falling
|
||||
if ( InStateSequence(CurState,FindState("Spawn"))
|
||||
|
|
@ -1086,7 +1086,7 @@ Class UTPlayer : DoomPlayer
|
|||
// Gib the player, the camera will attach to the head at this point
|
||||
A_GibMe();
|
||||
A_NoBlocking();
|
||||
SetStateLabel('null');
|
||||
SetStateLabel("IceBurst");
|
||||
}
|
||||
|
||||
void A_PainDT()
|
||||
|
|
@ -1293,6 +1293,10 @@ Class UTPlayer : DoomPlayer
|
|||
PICE A 5 A_FreezeDeath();
|
||||
PICE A 1 A_FreezeDeathChunksDT();
|
||||
Wait;
|
||||
IceBurst:
|
||||
TNT1 A 35;
|
||||
TNT1 A 1 A_CheckPlayerDone();
|
||||
Wait;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue