From 7b6c3cc3986d122b9c5ec0b1ddab80aac62d778b Mon Sep 17 00:00:00 2001 From: heavydemon21 Date: Sat, 11 Jan 2025 14:36:35 +0100 Subject: improved missile spawn location --- game/missile/SpawnEvent.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'game') 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(); -- cgit v1.2.3