aboutsummaryrefslogtreecommitdiff
path: root/game/missile/SpawnEvent.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 16:32:03 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 16:32:03 +0100
commiteb3d9ec9baa0b95b95d741a0615adaf4c8c1d3c0 (patch)
tree3a35a5dc5efec591b4cadbde90d3888148edbb26 /game/missile/SpawnEvent.h
parent8edce6775ab0639a2a6eee3e561d3de0bb0c2cf1 (diff)
added preset with nothing
Diffstat (limited to 'game/missile/SpawnEvent.h')
-rw-r--r--game/missile/SpawnEvent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/missile/SpawnEvent.h b/game/missile/SpawnEvent.h
index ce301fd..58293d7 100644
--- a/game/missile/SpawnEvent.h
+++ b/game/missile/SpawnEvent.h
@@ -9,7 +9,7 @@ struct MissileSpawnEvent : public crepe::Event {};
class MissileSpawnEventHandler : public crepe::Script {
private:
- static constexpr int MISSILE_OFFSET = VIEWPORT_X / 1.8;
+ static constexpr int MISSILE_OFFSET = VIEWPORT_X;
static constexpr int RANGE = GAME_HEIGHT / 4;
static constexpr int MIN_RANGE = -RANGE;
static constexpr int MAX_RANGE = RANGE;