mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +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
4e1c53af91
1 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue