summaryrefslogtreecommitdiff
path: root/src/player.c
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2023-04-15 18:46:48 +0300
committerkartofen <mladenovnasko0@gmail.com>2023-04-15 18:46:48 +0300
commitb1ae2b76d55c87133bc0c17bf7ef8b7545b759d0 (patch)
tree2415c45bd3793c04e34dc5dc3026b997bdb56a14 /src/player.c
parentcf631e23e1d0e29edac2e13446bdd42235c111fc (diff)
knee height bug fix
Diffstat (limited to 'src/player.c')
-rw-r--r--src/player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c
index 6ea618b..d81cc52 100644
--- a/src/player.c
+++ b/src/player.c
@@ -3,7 +3,6 @@
#define DEFAULT_STAND_HEIGHT 6.0f
#define DEFAULT_DUCK_HEIGHT 2.5f
-
#define DEFAULT_HEAD_MARGIN 1.0f
#define DEFAULT_KNEE_HEIGHT 2.0f
@@ -18,6 +17,7 @@ void player_default(player_t *player)
player->stand_height = DEFAULT_STAND_HEIGHT;
player->duck_height = DEFAULT_DUCK_HEIGHT;
player->head_margin = DEFAULT_HEAD_MARGIN;
+ player->knee_height = DEFAULT_KNEE_HEIGHT;
player->ducking = false;
}