summaryrefslogtreecommitdiff
path: root/game/vehicles
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-03-28 19:04:21 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-03-28 19:04:21 +0000
commit508ffe80c9991cc76f4fa37dd2fa21746abe3a89 (patch)
treefe5ca4a08a246191432c304708ce76fe1c3905d6 /game/vehicles
parentCreate the last group in jsonParse.ll (diff)
parentFix check for bulk removal (diff)
downloadilt-main.tar.bz2
ilt-main.tar.xz
ilt-main.zip
Merge remote-tracking branch 'origin/ptrs'HEADmain
Diffstat (limited to 'game/vehicles')
-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 4933347..88e30f9 100644
--- a/game/vehicles/train.h
+++ b/game/vehicles/train.h
@@ -15,7 +15,7 @@ class SceneShader;
class ShadowMapper;
template<typename> class Ray;
-class Train : public Vehicle, public Collection<RailVehicle, false>, public Can<Go>, public Can<Idle> {
+class Train : public Vehicle, public UniqueCollection<RailVehicle>, public Can<Go>, public Can<Idle> {
public:
explicit Train(const Link::CPtr & link, float linkDist = 0) : Vehicle {link, linkDist} { }