summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
Diffstat (limited to 'game')
-rw-r--r--game/vehicles/vehicle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/vehicles/vehicle.h b/game/vehicles/vehicle.h
index 8a85a28..15d401b 100644
--- a/game/vehicles/vehicle.h
+++ b/game/vehicles/vehicle.h
@@ -4,6 +4,7 @@
#include "game/physical.h"
#include <game/network/link.h>
#include <game/worldobject.h>
+#include <memory>
#include <string>
#include <utility>
#include <vector>
@@ -30,5 +31,6 @@ public:
protected:
LinkHistory linkHist;
};
+using VehicleWPtr = std::weak_ptr<Vehicle>;
#endif