diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-08 15:24:09 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-08 15:24:21 +0100 |
commit | f22a282b7863d35928fa3290f964ce3be5c0dbc9 (patch) | |
tree | 09aa2d1d7b730154288b9496f141cf711cdfdecf /game/prefab/ZapperPoolScript.h | |
parent | 261a2cfd2bedafbc7fcf54e1b86adee206dea519 (diff) |
tweak zapper spawning logic
Diffstat (limited to 'game/prefab/ZapperPoolScript.h')
-rw-r--r-- | game/prefab/ZapperPoolScript.h | 3 |
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; }; |