- fixed: Uncrouching a player also needs to reset the viewheight to its default.

This commit is contained in:
Christoph Oelckers 2016-01-30 12:51:15 +01:00
parent 1285dde615
commit 0ddf9db8dd
1 changed files with 1 additions and 0 deletions

View File

@ -492,6 +492,7 @@ public:
crouchdir = 0;
crouching = 0;
crouchviewdelta = 0;
viewheight = mo->ViewHeight;
}
bool CanCrouch() const