diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-09 14:54:40 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-09 14:54:40 +0100 |
commit | 843d27e8f68bf3d3d39baedb7a5c53154160afd7 (patch) | |
tree | 535bbd6accd3bbafeead9fb5d462c11515dce7d6 /game/player/PlayerScript.cpp | |
parent | 8bd94b7a0a1eb7c2f6ca003fac95bea858671218 (diff) |
fixed some player features
Diffstat (limited to 'game/player/PlayerScript.cpp')
-rw-r--r-- | game/player/PlayerScript.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/game/player/PlayerScript.cpp b/game/player/PlayerScript.cpp index 1283d0a..fadca9c 100644 --- a/game/player/PlayerScript.cpp +++ b/game/player/PlayerScript.cpp @@ -104,7 +104,6 @@ void PlayerScript::fixed_update(crepe::duration_t dt) { last_fired = now; } } - if (this->get_key_state(Keycode::SPACE)) { rb.add_force_linear(vec2(0, -PLAYER_GRAVITY_SCALE / 2.5) * dt.count() / 0.02); if (prev_anim != 1) { |