- fixed: A_Respawn did not reset the actor's radius.

This commit is contained in:
Christoph Oelckers 2015-08-11 17:12:16 +02:00
parent 9c24e9ac71
commit b06770cb92

View file

@ -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)