summaryrefslogtreecommitdiff
path: root/game/vehicles/train.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-03-16 00:59:53 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-03-16 00:59:53 +0000
commit56493c5bdfa181d172acbd56cb69589c28623b47 (patch)
tree11073a4558e6190ed8204eb6d6bdb6028bd40ae3 /game/vehicles/train.h
parentAdd requires on factory like functions (diff)
downloadilt-56493c5bdfa181d172acbd56cb69589c28623b47.tar.bz2
ilt-56493c5bdfa181d172acbd56cb69589c28623b47.tar.xz
ilt-56493c5bdfa181d172acbd56cb69589c28623b47.zip
Allow activities to be changed when doing them
Diffstat (limited to 'game/vehicles/train.h')
-rw-r--r--game/vehicles/train.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/vehicles/train.h b/game/vehicles/train.h
index fb94102..e3dad73 100644
--- a/game/vehicles/train.h
+++ b/game/vehicles/train.h
@@ -28,8 +28,8 @@ public:
void render(const Shader & shader) const override;
void tick(TickDuration elapsed) override;
- void doActivity(const Go *, TickDuration) override;
- void doActivity(const Idle *, TickDuration) override;
+ void doActivity(Go *, TickDuration) override;
+ void doActivity(Idle *, TickDuration) override;
[[nodiscard]] Location getBogiePosition(float linkDist, float dist) const;
};