Merge branch 'master' into scripting for plugged userinfo memory leak
Conflicts: src/d_player.h src/p_interaction.cpp src/thingdef/thingdef_codeptr.cpp
This commit is contained in:
commit
9c86f1c220
39 changed files with 323 additions and 131 deletions
|
|
@ -6029,7 +6029,15 @@ void AActor::Crash()
|
|||
|
||||
if (DamageType != NAME_None)
|
||||
{
|
||||
crashstate = FindState(NAME_Crash, DamageType, true);
|
||||
if (health < GetGibHealth())
|
||||
{ // Extreme death
|
||||
FName labels[] = { NAME_Crash, NAME_Extreme, DamageType };
|
||||
crashstate = FindState (3, labels, true);
|
||||
}
|
||||
if (crashstate == NULL)
|
||||
{ // Normal death
|
||||
crashstate = FindState(NAME_Crash, DamageType, true);
|
||||
}
|
||||
}
|
||||
if (crashstate == NULL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue