aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerScript.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-10 19:51:02 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-10 19:51:02 +0100
commit16917357837916d1ef88b6122218fa0d567d1ddc (patch)
treeeefa561b81c48549277950692fdad714a2f501f2 /game/player/PlayerScript.cpp
parent0b19fe5a9168368d4be0993407dd3fc3bdfa0611 (diff)
parentb9d00961a8894356c7cff7597de424a12d2841a6 (diff)
Merge remote-tracking branch 'origin/master' into niels/game
Diffstat (limited to 'game/player/PlayerScript.cpp')
-rw-r--r--game/player/PlayerScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/player/PlayerScript.cpp b/game/player/PlayerScript.cpp
index 286cdaf..8cbe8dc 100644
--- a/game/player/PlayerScript.cpp
+++ b/game/player/PlayerScript.cpp
@@ -163,7 +163,7 @@ void PlayerScript::fixed_update(crepe::duration_t dt) {
if (current_jetpack_sound > 7) {
current_jetpack_sound = 0;
}
- } else if (transform.position.y == 195) {
+ } else if (transform.position.y == 200) {
Rigidbody & rb = this->body;
if (prev_anim != 0 && rb.data.linear_velocity.x != 0) {
for (Animator & anim : animators) {