From 8506f3a8af135c55fdf9adae2859dfa210a2aa0f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 13 Nov 2010 18:42:15 +0000 Subject: adds a ship key for world entities which applies ship model settings to a world entity --- src/game/base/ship.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game/base/ship.h') diff --git a/src/game/base/ship.h b/src/game/base/ship.h index ade7ff7..033f497 100644 --- a/src/game/base/ship.h +++ b/src/game/base/ship.h @@ -67,6 +67,11 @@ public: return ship_jumpdrive; } + /// set jumpdrive capability + inline void set_jumpdrive(const bool jumpdrive) { + ship_jumpdrive = jumpdrive; + } + /// set impulse drive force inline void set_impulse_force(const float impulse) { ship_impulse_force = impulse; -- cgit v1.2.3