diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-10 16:26:05 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-10 16:26:05 +0100 |
commit | a981a42a7378ed51155590215557e52553031272 (patch) | |
tree | 7ca1b0cb7f72d6e8d50df09470a177a09ee12e51 /game/missile/SpawnEvent.h | |
parent | 0f8bf257d86b5532f3d6f559e5368668c255af7c (diff) |
missile solution, cannot find @max issue
Diffstat (limited to 'game/missile/SpawnEvent.h')
-rw-r--r-- | game/missile/SpawnEvent.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/missile/SpawnEvent.h b/game/missile/SpawnEvent.h index 58293d7..3b9638c 100644 --- a/game/missile/SpawnEvent.h +++ b/game/missile/SpawnEvent.h @@ -10,7 +10,7 @@ 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; + static constexpr int RANGE = GAME_HEIGHT / 4.5; static constexpr int MIN_RANGE = -RANGE; static constexpr int MAX_RANGE = RANGE; |