aboutsummaryrefslogtreecommitdiff
path: root/game/prefab/ZapperPoolScript.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 16:14:25 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 16:14:25 +0100
commitf1f6f08bf15e7ef1520810524a5e50a126629432 (patch)
tree239f1d19fb890a7badc2f7887c460605770614e1 /game/prefab/ZapperPoolScript.h
parent31b068a3d2a275656ec310552f1ab27034aa184d (diff)
parent94e2988cc8c42e83a4b7b858c48458f997130963 (diff)
Merge remote-tracking branch 'origin/loek/game' into niels/game
Diffstat (limited to 'game/prefab/ZapperPoolScript.h')
-rw-r--r--game/prefab/ZapperPoolScript.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/prefab/ZapperPoolScript.h b/game/prefab/ZapperPoolScript.h
index 6aee8b2..2208c80 100644
--- a/game/prefab/ZapperPoolScript.h
+++ b/game/prefab/ZapperPoolScript.h
@@ -28,6 +28,6 @@ private:
void spawn_random();
private:
- static constexpr float OFFSCREEN_MARGIN = 40;
+ static constexpr float MAX_LENGTH = 400;
+ static constexpr float OFFSCREEN_MARGIN = 50 + MAX_LENGTH;
};
-