diff options
author | DrNuget <drnuget@outlook.com> | 2025-03-03 19:37:38 +0200 |
---|---|---|
committer | DrNuget <drnuget@outlook.com> | 2025-03-03 19:37:38 +0200 |
commit | de1c7a212835741946d562bc926a4287151c9ffb (patch) | |
tree | 0ac2c2217abf815ca2fde0c047020c99d2ad1613 /src/player.h | |
parent | 23dac85d2f600f0073e77bf83f4a544f3a087416 (diff) |
change some floats to ints, add deltatime to movement
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.h b/src/player.h index 346b800..38ae1df 100644 --- a/src/player.h +++ b/src/player.h @@ -9,7 +9,7 @@ typedef struct player { Camera3D camera; Hitbox hitbox; - float speed; + int speed; short is_on_floor; } Player; |