- added DONTCORPSE submission.
SVN r3216 (trunk)
This commit is contained in:
parent
3277b508cd
commit
6053627c5c
4 changed files with 8 additions and 1 deletions
|
|
@ -5485,6 +5485,9 @@ int AActor::GibHealth()
|
|||
|
||||
void AActor::Crash()
|
||||
{
|
||||
// [RC] Weird that this forces the Crash state regardless of flag.
|
||||
if(!(flags6 & MF6_DONTCORPSE))
|
||||
{
|
||||
if (((flags & MF_CORPSE) || (flags6 & MF6_KILLED)) &&
|
||||
!(flags3 & MF3_CRASHED) &&
|
||||
!(flags & MF_ICECORPSE))
|
||||
|
|
@ -5511,6 +5514,7 @@ void AActor::Crash()
|
|||
// so this code doesn't have to be executed repeatedly.
|
||||
flags3 |= MF3_CRASHED;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void AActor::SetIdle()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue