From 843d27e8f68bf3d3d39baedb7a5c53154160afd7 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Thu, 9 Jan 2025 14:54:40 +0100 Subject: fixed some player features --- game/player/PlayerScript.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'game/player/PlayerScript.cpp') 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) { -- cgit v1.2.3