From cafb6d40174459819b33ffc5e3d5e96762375619 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 6 Jan 2013 15:26:56 +0000 Subject: Set the item::Mountable flag where required, removed the Weapon::stackable() attribute. --- src/game/base/weapon.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/game/base/weapon.h') 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; -- cgit v1.2.3