diff options
Diffstat (limited to 'src/game/base/ship.h')
-rw-r--r-- | src/game/base/ship.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/game/base/ship.h b/src/game/base/ship.h index 61ff1c7..fa6e60d 100644 --- a/src/game/base/ship.h +++ b/src/game/base/ship.h @@ -83,6 +83,11 @@ public: return ship_spawn; } + inline JumpPoint *jumpdepart() + { + return ship_jumpdepart; + } + /// current autopilot target inline core::Entity *autopilot_target() { @@ -230,7 +235,7 @@ protected: * @brief autopilot formation flying * */ void frame_autopilot_formation(const unsigned long elapsed, core::Entity *target); - + private: JumpPoint *find_closest_jumppoint(); |