mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
- fixed FraggleScript's resurrect function to call AActor::Revive to ensure that everything gets reset.
This commit is contained in:
parent
4899c405c3
commit
c6d8125b45
1 changed files with 1 additions and 6 deletions
|
@ -3473,12 +3473,7 @@ void FParser::SF_Resurrect()
|
|||
mo->SetState(state);
|
||||
mo->Height = mo->GetDefault()->Height;
|
||||
mo->radius = mo->GetDefault()->radius;
|
||||
mo->flags = mo->GetDefault()->flags;
|
||||
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->Revive();
|
||||
mo->target = NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue