aboutsummaryrefslogtreecommitdiff
path: root/game/missile/SpawnEvent.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 16:34:33 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 16:34:33 +0100
commit6e19b17f36fc4371578a512f9fbda64125ca80c0 (patch)
tree76b8fc05b3adf24267fb919c1451ed0f3781b955 /game/missile/SpawnEvent.h
parentbb976ed881a989b8b2cec90c905d906d9b652a9d (diff)
parent9ae8d8f860146c1777e55dec7bd455aa16351375 (diff)
Merge branch 'niels/game' of github.com:lonkaars/crepe
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;