summaryrefslogtreecommitdiff
path: root/game/vehicles/train.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-01-01 22:03:10 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-01-01 22:03:10 +0000
commit423328de708ffa93961c329de13445ce2da6e328 (patch)
tree6b4500d0d6af5ee5bff967233d82bfae078b279c /game/vehicles/train.cpp
parentRemove more use of legacy types from camera controller (diff)
downloadilt-423328de708ffa93961c329de13445ce2da6e328.tar.bz2
ilt-423328de708ffa93961c329de13445ce2da6e328.tar.xz
ilt-423328de708ffa93961c329de13445ce2da6e328.zip
Remove more use of legacy types and unnecessary pointers from selectable interface
Diffstat (limited to 'game/vehicles/train.cpp')
-rw-r--r--game/vehicles/train.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/vehicles/train.cpp b/game/vehicles/train.cpp
index 13905a3..05b2d8a 100644
--- a/game/vehicles/train.cpp
+++ b/game/vehicles/train.cpp
@@ -20,7 +20,7 @@ Train::getBogiePosition(float linkDist, float dist) const
}
bool
-Train::intersectRay(const Ray & ray, BaryPosition * baryPos, float * distance) const
+Train::intersectRay(const Ray & ray, BaryPosition & baryPos, RelativeDistance & distance) const
{
return applyOne(&RailVehicle::intersectRay, ray, baryPos, distance) != end();
}