mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
- fixed: Uncrouching a player also needs to reset the viewheight to its default.
This commit is contained in:
parent
1285dde615
commit
0ddf9db8dd
1 changed files with 1 additions and 0 deletions
|
@ -492,6 +492,7 @@ public:
|
|||
crouchdir = 0;
|
||||
crouching = 0;
|
||||
crouchviewdelta = 0;
|
||||
viewheight = mo->ViewHeight;
|
||||
}
|
||||
|
||||
bool CanCrouch() const
|
||||
|
|
Loading…
Reference in a new issue