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-01-06 15:26:56 +0000
committerStijn Buys <ingar@osirion.org>2013-01-06 15:26:56 +0000
commitcafb6d40174459819b33ffc5e3d5e96762375619 (patch)
treef7df6dfc414e339ba466f9c151b759d921c9849a /src/game/base/weapon.h
parent4701580b1d6d1ec71733096122ffa5979a1fe075 (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.h10
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;