aboutsummaryrefslogtreecommitdiff
path: root/game/missile/SpawnEvent.h
diff options
context:
space:
mode:
authorMax-001 <maxsmits21@kpnmail.nl>2025-01-11 16:00:48 +0100
committerMax-001 <maxsmits21@kpnmail.nl>2025-01-11 16:00:48 +0100
commitd61c207995693a21dd224f70bc7e7ead492c849b (patch)
tree29f227815f9bd073d0497e54da57f5aa08a385cc /game/missile/SpawnEvent.h
parent9f6cfa2f4484b1abd79e126583f8baa8a2cbd7f8 (diff)
parent525636bb2158ecea68ebb9d6b8d2dc722524c5e5 (diff)
Merge remote-tracking branch 'origin/master' into max/preview
Diffstat (limited to 'game/missile/SpawnEvent.h')
-rw-r--r--game/missile/SpawnEvent.h5
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();