mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed: A_Respawn did not reset the actor's radius.
This commit is contained in:
parent
9c24e9ac71
commit
b06770cb92
1 changed files with 1 additions and 0 deletions
|
@ -3017,6 +3017,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Respawn)
|
||||||
fixed_t oldz = self->z;
|
fixed_t oldz = self->z;
|
||||||
self->flags |= MF_SOLID;
|
self->flags |= MF_SOLID;
|
||||||
self->height = self->GetDefault()->height;
|
self->height = self->GetDefault()->height;
|
||||||
|
self->radius = self->GetDefault()->radius;
|
||||||
CALL_ACTION(A_RestoreSpecialPosition, self);
|
CALL_ACTION(A_RestoreSpecialPosition, self);
|
||||||
|
|
||||||
if (flags & RSF_TELEFRAG)
|
if (flags & RSF_TELEFRAG)
|
||||||
|
|
Loading…
Reference in a new issue