From 423328de708ffa93961c329de13445ce2da6e328 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 1 Jan 2024 22:03:10 +0000 Subject: Remove more use of legacy types and unnecessary pointers from selectable interface --- game/vehicles/railVehicle.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'game/vehicles/railVehicle.h') diff --git a/game/vehicles/railVehicle.h b/game/vehicles/railVehicle.h index 8cbc49d..f6e4764 100644 --- a/game/vehicles/railVehicle.h +++ b/game/vehicles/railVehicle.h @@ -6,7 +6,6 @@ #include #include #include -#include class Ray; class Train; @@ -17,7 +16,7 @@ public: void move(const Train *, float & trailBy); - [[nodiscard]] bool intersectRay(const Ray &, BaryPosition *, float *) const override; + [[nodiscard]] bool intersectRay(const Ray &, BaryPosition &, RelativeDistance &) const override; RailVehicleClassPtr rvClass; using LV = RailVehicleClass::LocationVertex; -- cgit v1.2.3