- 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

View file

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