aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerScript.cpp
diff options
context:
space:
mode:
authorMax-001 <maxsmits21@kpnmail.nl>2025-01-10 17:07:28 +0100
committerMax-001 <maxsmits21@kpnmail.nl>2025-01-10 17:07:28 +0100
commit912774706bab1e7817facb3cff12e961a89d1980 (patch)
tree0896b12c29dccc247c69e54daaa32d8ce3097ed0 /game/player/PlayerScript.cpp
parent90a33d36c34b1512270a6724564995dd8bf914a6 (diff)
parent7aa07561a52016007ff852acefa4db68260f0f1e (diff)
Merge remote-tracking branch 'origin/wouter/game-improvements' into max/game2
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) {