aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.c
diff options
context:
space:
mode:
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 6cce443..18d36af 100644
--- a/src/player.c
+++ b/src/player.c
@@ -220,7 +220,7 @@ void updatePlayerMovement(Player* player, Game* game)
}
// Walking around.
- player->velocity = Vector3Zero();
+ player->velocity = (Vector3){0.0, 0.0, 0.0};
if (IsKeyDown(settings->forwardKey))
{