- Fixed compiler errors and warnings from TFlags.
This commit is contained in:
parent
84351419a3
commit
cda4fece1b
4 changed files with 14 additions and 13 deletions
|
|
@ -660,7 +660,7 @@ void AActor::Die (AActor *source, AActor *inflictor, int dmgflags)
|
|||
|
||||
FState *diestate = NULL;
|
||||
int gibhealth = GibHealth();
|
||||
int iflags4 = inflictor == NULL ? 0 : inflictor->flags4;
|
||||
ActorFlags4 iflags4 = inflictor == NULL ? ActorFlags4::FromInt(0) : inflictor->flags4;
|
||||
bool extremelydead = ((health < gibhealth || iflags4 & MF4_EXTREMEDEATH) && !(iflags4 & MF4_NOEXTREMEDEATH));
|
||||
|
||||
// Special check for 'extreme' damage type to ensure that it gets recorded properly as an extreme death for subsequent checks.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue