summaryrefslogtreecommitdiffstats
path: root/src/game-server/character.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/character.h')
-rw-r--r--src/game-server/character.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/game-server/character.h b/src/game-server/character.h
index 1176229..5f3d3a6 100644
--- a/src/game-server/character.h
+++ b/src/game-server/character.h
@@ -45,22 +45,22 @@ class Trade;
struct SpecialValue
{
- SpecialValue(unsigned int currentMana,
+ SpecialValue(unsigned currentMana,
const SpecialManager::SpecialInfo *specialInfo)
: currentMana(currentMana)
, rechargeSpeed(specialInfo->defaultRechargeSpeed)
, specialInfo(specialInfo)
{}
- unsigned int currentMana;
- unsigned int rechargeSpeed;
+ unsigned currentMana;
+ unsigned rechargeSpeed;
const SpecialManager::SpecialInfo *specialInfo;
};
/**
* Stores specials by their id.
*/
-typedef std::map<unsigned int, SpecialValue> SpecialMap;
+typedef std::map<unsigned, SpecialValue> SpecialMap;
/**
* The representation of a player's character in the game world.
@@ -255,14 +255,14 @@ class Character : public Being
* attributes if it has changed.
* @returns Whether it was changed.
*/
- bool recalculateBaseAttribute(unsigned int);
+ bool recalculateBaseAttribute(unsigned);
/**
* Attribute has changed, recalculate base value of dependant
* attributes (and handle other actions for the modified
* attribute)
*/
- void updateDerivedAttributes(unsigned int);
+ void updateDerivedAttributes(unsigned);
/**
* Calls all the "disconnected" listener.