diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-11 15:38:21 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-11 15:38:21 +0100 |
commit | 525636bb2158ecea68ebb9d6b8d2dc722524c5e5 (patch) | |
tree | 8b650eb1c30b6d6e38fb4117367111612ce70e0f /game | |
parent | eb3ffdcccf08be7b2bb505d6bb1d4a688ca8cd27 (diff) | |
parent | 7b6c3cc3986d122b9c5ec0b1ddab80aac62d778b (diff) |
Merge branch 'niels/game' of github.com:lonkaars/crepe
Diffstat (limited to 'game')
-rw-r--r-- | game/missile/SpawnEvent.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/game/missile/SpawnEvent.h b/game/missile/SpawnEvent.h index 3b9638c..84b1987 100644 --- a/game/missile/SpawnEvent.h +++ b/game/missile/SpawnEvent.h @@ -10,9 +10,8 @@ struct MissileSpawnEvent : public crepe::Event {}; class MissileSpawnEventHandler : public crepe::Script { private: static constexpr int MISSILE_OFFSET = VIEWPORT_X; - static constexpr int RANGE = GAME_HEIGHT / 4.5; - static constexpr int MIN_RANGE = -RANGE; - static constexpr int MAX_RANGE = RANGE; + static constexpr int MIN_RANGE = -150; + static constexpr int MAX_RANGE = 150; public: void init(); |