- don't read the full height of a player from the defaults, because that cannot be changed by A_SetHeight.
Instead a new member, FullHeight is used for this now.
This commit is contained in:
parent
3a0aaa62e7
commit
17ed23bfcc
4 changed files with 13 additions and 5 deletions
|
|
@ -6906,6 +6906,10 @@ DEFINE_ACTION_FUNCTION(AActor, A_SetSize)
|
|||
self->LinkToWorld(&ctx);
|
||||
ACTION_RETURN_BOOL(false);
|
||||
}
|
||||
if (self->player && self->player->mo == self)
|
||||
{
|
||||
self->player->mo->FullHeight = newheight;
|
||||
}
|
||||
|
||||
ACTION_RETURN_BOOL(true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue