diff options
author | Stijn Buys <ingar@osirion.org> | 2013-01-06 15:26:56 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-01-06 15:26:56 +0000 |
commit | cafb6d40174459819b33ffc5e3d5e96762375619 (patch) | |
tree | f7df6dfc414e339ba466f9c151b759d921c9849a /src/game/base/weapon.h | |
parent | 4701580b1d6d1ec71733096122ffa5979a1fe075 (diff) |
Set the item::Mountable flag where required,
removed the Weapon::stackable() attribute.
Diffstat (limited to 'src/game/base/weapon.h')
-rw-r--r-- | src/game/base/weapon.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/game/base/weapon.h b/src/game/base/weapon.h index ec071ad..ee67cfc 100644 --- a/src/game/base/weapon.h +++ b/src/game/base/weapon.h @@ -24,11 +24,7 @@ public: inline SubType subtype() const { return weapon_subtype; } - - inline bool stackable() const { - return weapon_stackable; - } - + /** * @brief player level required to buy this weapon * */ @@ -101,8 +97,6 @@ public: /* --- mutators -------------------------------------------- */ - void set_stackable(bool stackable); - void set_level(const int level); void set_subtype(const SubType subtype); @@ -181,8 +175,6 @@ private: int weapon_level; - bool weapon_stackable; - unsigned long weapon_projectile_interval; unsigned long weapon_projectile_lifespan; |