summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-20 01:07:12 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-20 01:07:12 +0000
commit11dc98b4ffc22dedc019cf66fa81218a6adc179e (patch)
tree8a75825572218939adcc3138f36f66dce5c07c6a /game
parentRemove spare bits from shaders and tidy up (diff)
downloadilt-11dc98b4ffc22dedc019cf66fa81218a6adc179e.tar.bz2
ilt-11dc98b4ffc22dedc019cf66fa81218a6adc179e.tar.xz
ilt-11dc98b4ffc22dedc019cf66fa81218a6adc179e.zip
Pass a cppcheck
Diffstat (limited to 'game')
-rw-r--r--game/vehicles/vehicle.h2
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)