aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.c
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-09-20 09:25:53 +0000
committernathan <nathansmith@disroot.org>2025-09-20 09:25:53 +0000
commit433f61f3c8a7cd06aaeaaac5d38cec5444f82b3f (patch)
tree57d29fca4887b36118de4c719e8a3dc75cb1a663 /src/player.c
parentc7b41bd1750807b366308a8eb41df3218efde1a7 (diff)
downloadFindThings-433f61f3c8a7cd06aaeaaac5d38cec5444f82b3f.tar.gz
FindThings-433f61f3c8a7cd06aaeaaac5d38cec5444f82b3f.tar.bz2
FindThings-433f61f3c8a7cd06aaeaaac5d38cec5444f82b3f.zip
Samantha's spot
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 64bdce6..417c7e1 100644
--- a/src/player.c
+++ b/src/player.c
@@ -71,7 +71,7 @@ void updatePlayer(Player* player, Game* game)
player->velocity.x += -sinf(cameraAngle->x + (PI / 2.0));
}
- player->velocity = Vector3Scale(player->velocity, 60.0);
+ player->velocity = Vector3Scale(player->velocity, PLAYER_SPEED);
// Apply velocity.
player->position = Vector3Add(