diff options
author | Stijn Buys <ingar@osirion.org> | 2014-12-22 21:03:32 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2014-12-22 21:03:32 +0000 |
commit | 243ef412d9abb609ec1ad6ed296056c6c7c3a063 (patch) | |
tree | d5d90df6c9a37e4c529573405a409f3252dcc9b6 /src/game/base/ship.h | |
parent | e7061d6fed8bdfc1828315eb8745cd919cb96bbc (diff) |
Wingmen will try to repair their ship if the leader has a carrier and health drops below 25%.
Diffstat (limited to 'src/game/base/ship.h')
-rw-r--r-- | src/game/base/ship.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/game/base/ship.h b/src/game/base/ship.h index 4b4ae61..db41ba0 100644 --- a/src/game/base/ship.h +++ b/src/game/base/ship.h @@ -179,10 +179,7 @@ public: } /// set current armor strength (current health) - inline void set_armor(const float armor) - { - ship_armor = armor; - } + void set_armor(const float armor); /// set maximal shield strength inline void set_maxshield(const float maxshield) |