Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-10-20 14:36:45 +0000
committerStijn Buys <ingar@osirion.org>2013-10-20 14:36:45 +0000
commitb277c65615482f17c966771341ae6b7a89cc9568 (patch)
treed5138749901e816ac1b197279b51e7ac23e15b82 /src/game/base/ship.h
parent6704be2d5550f091c18c4cc50ef6d28bf55a31a4 (diff)
Make wingmen follow you through jumpgates.
Diffstat (limited to 'src/game/base/ship.h')
-rw-r--r--src/game/base/ship.h7
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();