summaryrefslogtreecommitdiff
path: root/game/vehicles/vehicle.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-14 14:32:25 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-14 14:32:25 +0000
commit169068b417323232cc6aac440f3d7a2d918b5917 (patch)
tree6a97eba1b3027feaa8e5530f7df625c0430a61b1 /game/vehicles/vehicle.h
parentAdd our first vehicle (diff)
downloadilt-169068b417323232cc6aac440f3d7a2d918b5917.tar.bz2
ilt-169068b417323232cc6aac440f3d7a2d918b5917.tar.xz
ilt-169068b417323232cc6aac440f3d7a2d918b5917.zip
Code tidy-up
Diffstat (limited to 'game/vehicles/vehicle.h')
-rw-r--r--game/vehicles/vehicle.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/game/vehicles/vehicle.h b/game/vehicles/vehicle.h
index 01be6a6..cd2249d 100644
--- a/game/vehicles/vehicle.h
+++ b/game/vehicles/vehicle.h
@@ -4,12 +4,11 @@
#include "game/physical.h"
#include <game/network/link.h>
#include <game/worldobject.h>
-#include <glm/glm.hpp>
#include <string>
class Vehicle : public WorldObject, public Physical {
public:
- Vehicle(LinkPtr link, const std::string & obj, const std::string & tex);
+ Vehicle(const LinkPtr & link, const std::string & obj, const std::string & tex);
LinkPtr 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