- Added PinkSilver's A_LookEx fix.
SVN r1828 (trunk)
This commit is contained in:
parent
4a057c1fdc
commit
923bf08cdc
3 changed files with 36 additions and 27 deletions
|
|
@ -2139,6 +2139,10 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Respawn)
|
|||
{
|
||||
AActor *defs = self->GetDefault();
|
||||
self->health = defs->health;
|
||||
|
||||
// [KS] Don't keep target, because it could be self if the monster committed suicide
|
||||
self->target = NULL;
|
||||
self->LastHeard = NULL;
|
||||
|
||||
self->flags = (defs->flags & ~MF_FRIENDLY) | (self->flags & MF_FRIENDLY);
|
||||
self->flags2 = defs->flags2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue