summaryrefslogtreecommitdiff
path: root/game/vehicles/railVehicleClass.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-03-07 19:02:24 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-03-07 19:02:24 +0000
commite69a0c558bf591526a2ae3ced00bb108ae1a5608 (patch)
treec5d92cbf69fad6f993a23685f67494893e4c0fbd /game/vehicles/railVehicleClass.h
parentSpeed conversions and literals (diff)
downloadilt-e69a0c558bf591526a2ae3ced00bb108ae1a5608.tar.bz2
ilt-e69a0c558bf591526a2ae3ced00bb108ae1a5608.tar.xz
ilt-e69a0c558bf591526a2ae3ced00bb108ae1a5608.zip
Add maxSpeed to rail vehicle class
Diffstat (limited to 'game/vehicles/railVehicleClass.h')
-rw-r--r--game/vehicles/railVehicleClass.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/vehicles/railVehicleClass.h b/game/vehicles/railVehicleClass.h
index b902367..fb881b9 100644
--- a/game/vehicles/railVehicleClass.h
+++ b/game/vehicles/railVehicleClass.h
@@ -22,6 +22,7 @@ public:
std::shared_ptr<Texture> texture;
float wheelBase;
float length;
+ float maxSpeed;
private:
RailVehicleClass(std::unique_ptr<ObjParser> obj, std::shared_ptr<Texture>);