diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-20 01:07:12 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-20 01:07:12 +0000 |
commit | 11dc98b4ffc22dedc019cf66fa81218a6adc179e (patch) | |
tree | 8a75825572218939adcc3138f36f66dce5c07c6a /game/vehicles/vehicle.h | |
parent | Remove spare bits from shaders and tidy up (diff) | |
download | ilt-11dc98b4ffc22dedc019cf66fa81218a6adc179e.tar.bz2 ilt-11dc98b4ffc22dedc019cf66fa81218a6adc179e.tar.xz ilt-11dc98b4ffc22dedc019cf66fa81218a6adc179e.zip |
Pass a cppcheck
Diffstat (limited to 'game/vehicles/vehicle.h')
-rw-r--r-- | game/vehicles/vehicle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/vehicles/vehicle.h b/game/vehicles/vehicle.h index 945d43b..bbfa6ea 100644 --- a/game/vehicles/vehicle.h +++ b/game/vehicles/vehicle.h @@ -24,7 +24,7 @@ private: class Vehicle : public WorldObject, public Renderable { public: - Vehicle(const LinkPtr & link, float linkDist = 0); + explicit Vehicle(const LinkPtr & link, float linkDist = 0); float linkDist; // distance long current link float speed {50}; // speed in m/s (~75 km/h) |