summaryrefslogtreecommitdiff
path: root/game/vehicles/railVehicle.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-03-04 15:47:22 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-03-04 15:47:22 +0000
commitc32674d9bac2cf6283cafc3bf446a45be22b2851 (patch)
treeb28ea4d923fa945aba3f91d636394f74429d2ae1 /game/vehicles/railVehicle.h
parentRailVehicleClass now renders bogie shadows as well as body (diff)
downloadilt-c32674d9bac2cf6283cafc3bf446a45be22b2851.tar.bz2
ilt-c32674d9bac2cf6283cafc3bf446a45be22b2851.tar.xz
ilt-c32674d9bac2cf6283cafc3bf446a45be22b2851.zip
Default RailVehicle bogie positions according to class wheelBase
Useful for render tests so everything looks sane
Diffstat (limited to 'game/vehicles/railVehicle.h')
-rw-r--r--game/vehicles/railVehicle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/vehicles/railVehicle.h b/game/vehicles/railVehicle.h
index f172a28..bbf4df9 100644
--- a/game/vehicles/railVehicle.h
+++ b/game/vehicles/railVehicle.h
@@ -16,7 +16,7 @@ class Ray;
class Train;
class RailVehicle : public Renderable, Selectable {
public:
- explicit RailVehicle(RailVehicleClassPtr rvc) : rvClass {std::move(rvc)} { }
+ explicit RailVehicle(RailVehicleClassPtr rvc);
void move(const Train *, float & trailBy);