From 5795e8939bcd5e849c5e63e2c443bada03c93a20 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 3 Apr 2026 14:17:38 +0100 Subject: Create mix-ins for handling asset and instance lights --- game/vehicles/railVehicle.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'game/vehicles/railVehicle.cpp') diff --git a/game/vehicles/railVehicle.cpp b/game/vehicles/railVehicle.cpp index c11d817..b5de833 100644 --- a/game/vehicles/railVehicle.cpp +++ b/game/vehicles/railVehicle.cpp @@ -20,6 +20,7 @@ RailVehicle::RailVehicle(RailVehicleClassPtr rvc, GlobalPosition3D position) : Location {.pos = position + RelativePosition3D {0, -rvc->wheelBase / 2.F, 0}, .rot = {}}))}, rvClass {std::move(rvc)} { + lightsEnable(rvClass, get()->body.index); } void -- cgit v1.3