aboutsummaryrefslogtreecommitdiff
path: root/game/prefab/ZapperPoolScript.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/prefab/ZapperPoolScript.h')
-rw-r--r--game/prefab/ZapperPoolScript.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/prefab/ZapperPoolScript.h b/game/prefab/ZapperPoolScript.h
index 6aee8b2..dd60071 100644
--- a/game/prefab/ZapperPoolScript.h
+++ b/game/prefab/ZapperPoolScript.h
@@ -28,6 +28,7 @@ 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;
};