summaryrefslogtreecommitdiff
path: root/game/vehicles/train.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-01-01 15:53:54 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-01-01 15:53:54 +0000
commit69e6b7d2d349dcc42d2d415a72181ba729d5a19d (patch)
tree5d7dff2f2775701069806eceb4eaef23b22eba3f /game/vehicles/train.h
parentRemove legacy Position types from shadowMapper (diff)
downloadilt-69e6b7d2d349dcc42d2d415a72181ba729d5a19d.tar.bz2
ilt-69e6b7d2d349dcc42d2d415a72181ba729d5a19d.tar.xz
ilt-69e6b7d2d349dcc42d2d415a72181ba729d5a19d.zip
Remove more use of legacy types
Diffstat (limited to 'game/vehicles/train.h')
-rw-r--r--game/vehicles/train.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/vehicles/train.h b/game/vehicles/train.h
index 7f0bb99..c77cd23 100644
--- a/game/vehicles/train.h
+++ b/game/vehicles/train.h
@@ -27,7 +27,7 @@ public:
return objects.front()->location;
}
- [[nodiscard]] bool intersectRay(const Ray &, Position2D *, float *) const override;
+ [[nodiscard]] bool intersectRay(const Ray &, BaryPosition *, float *) const override;
void tick(TickDuration elapsed) override;
void doActivity(Go *, TickDuration) override;