- fixed FraggleScript's resurrect function to call AActor::Revive to ensure that everything gets reset.

This commit is contained in:
Christoph Oelckers 2016-06-22 13:35:03 +02:00
parent 4899c405c3
commit 4e1c53af91

View file

@ -3473,12 +3473,7 @@ void FParser::SF_Resurrect()
mo->SetState(state); mo->SetState(state);
mo->Height = mo->GetDefault()->Height; mo->Height = mo->GetDefault()->Height;
mo->radius = mo->GetDefault()->radius; mo->radius = mo->GetDefault()->radius;
mo->flags = mo->GetDefault()->flags; mo->Revive();
mo->flags2 = mo->GetDefault()->flags2;
mo->flags3 = mo->GetDefault()->flags3;
mo->flags4 = mo->GetDefault()->flags4;
mo->flags5 = mo->GetDefault()->flags5;
mo->health = mo->GetDefault()->health;
mo->target = NULL; mo->target = NULL;
} }
} }