summaryrefslogtreecommitdiffstats
path: root/src/game-server/attribute.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/attribute.h')
-rw-r--r--src/game-server/attribute.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game-server/attribute.h b/src/game-server/attribute.h
index 046c8f6..8c8d3b8 100644
--- a/src/game-server/attribute.h
+++ b/src/game-server/attribute.h
@@ -31,7 +31,7 @@ class AttributeModifierState
public:
AttributeModifierState(unsigned short duration,
double value,
- unsigned int id)
+ unsigned id)
: mDuration(duration)
, mValue(value)
, mId(id)
@@ -48,7 +48,7 @@ class AttributeModifierState
* dispells or similar. Exact usage depends on the effect,
* origin, etc.
*/
- const unsigned int mId;
+ const unsigned mId;
friend bool durationCompare(const AttributeModifierState*,
const AttributeModifierState*);
friend class AttributeModifiersEffect;
@@ -75,7 +75,7 @@ class AttributeModifiersEffect
/**
* remove() - as with Attribute::remove().
*/
- bool remove(double value, unsigned int id, bool fullCheck);
+ bool remove(double value, unsigned id, bool fullCheck);
/**
* Performs the necessary modifications to mMod when the states change.
@@ -160,7 +160,7 @@ class Attribute
* @param id Used to identify this effect.
* @return Whether the modified attribute value was changed.
*/
- bool add(unsigned short duration, double value, unsigned int layer, int id = 0);
+ bool add(unsigned short duration, double value, unsigned layer, int id = 0);
/**
* @param value The value of the modifier to be removed.
@@ -174,7 +174,7 @@ class Attribute
* or only those that are otherwise permanent (ie. duration of 0)
* @returns Whether the modified attribute value was changed.
*/
- bool remove(double value, unsigned int layer, int id, bool fullcheck);
+ bool remove(double value, unsigned layer, int id, bool fullcheck);
/**
* clearMods() removes *all* modifications present in this Attribute (!)