- fixed: Being resurrected by an Arch Vile did not restore flags5 and flags6 to the defaults.

SVN r2142 (trunk)
This commit is contained in:
Christoph Oelckers 2010-01-30 13:08:52 +00:00
parent 0997c608f2
commit 0246f2bf4d
2 changed files with 2 additions and 1 deletions

View file

@ -909,7 +909,6 @@ public:
return GetClass()->ActorInfo->FindState(2, names, exact);
}
bool HasSpecialDeathStates () const;
};

View file

@ -2579,6 +2579,8 @@ static bool P_CheckForResurrection(AActor *self, bool usevilestates)
corpsehit->flags2 = info->flags2;
corpsehit->flags3 = info->flags3;
corpsehit->flags4 = info->flags4;
corpsehit->flags5 = info->flags5;
corpsehit->flags6 = info->flags6;
corpsehit->health = info->health;
corpsehit->target = NULL;
corpsehit->lastenemy = NULL;