diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-14 14:52:04 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-14 14:52:04 +0000 |
commit | 08f6e874a8930899714e2c0d313a9ed9f4eec35c (patch) | |
tree | accb6a40100dceb2d5aa4d79b2a96a865b3a65d7 /game/vehicles/vehicle.h | |
parent | Code tidy-up (diff) | |
download | ilt-08f6e874a8930899714e2c0d313a9ed9f4eec35c.tar.bz2 ilt-08f6e874a8930899714e2c0d313a9ed9f4eec35c.tar.xz ilt-08f6e874a8930899714e2c0d313a9ed9f4eec35c.zip |
Link weak_ptrs
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 cd2249d..d59588c 100644 --- a/game/vehicles/vehicle.h +++ b/game/vehicles/vehicle.h @@ -9,7 +9,7 @@ class Vehicle : public WorldObject, public Physical { public: Vehicle(const LinkPtr & link, const std::string & obj, const std::string & tex); - LinkPtr link; // Which link are we travelling along + LinkWPtr link; // Which link are we travelling along unsigned char linkDir {0}; // Starting end e0->e1 or e1->e0 float linkDist {0}; // distance long current link float speed {50}; // speed in m/s (~75 km/h) |