summaryrefslogtreecommitdiff
path: root/src/game-server/specialmanager.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-01-09 13:23:43 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-01-09 13:23:43 +0100
commit16074a7c2c8197a061281a6880ddbc3967d8ea0c (patch)
treebd0cc650944aaeb38e87d43b94e43c1ab94bb2c7 /src/game-server/specialmanager.h
parent562b403a66a6a96d883620b27455564d50e3d49b (diff)
downloadmanaserv-16074a7c2c8197a061281a6880ddbc3967d8ea0c.tar.gz
manaserv-16074a7c2c8197a061281a6880ddbc3967d8ea0c.tar.bz2
manaserv-16074a7c2c8197a061281a6880ddbc3967d8ea0c.tar.xz
manaserv-16074a7c2c8197a061281a6880ddbc3967d8ea0c.zip
Replaced 'unsigned int' with 'unsigned'
Same thing, but shorter.
Diffstat (limited to 'src/game-server/specialmanager.h')
-rw-r--r--src/game-server/specialmanager.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game-server/specialmanager.h b/src/game-server/specialmanager.h
index b7a4f54b..e9203a34 100644
--- a/src/game-server/specialmanager.h
+++ b/src/game-server/specialmanager.h
@@ -48,12 +48,12 @@ public:
target(TARGET_BEING)
{}
- unsigned int id;
+ unsigned id;
std::string name;
std::string setName;
bool rechargeable;
int defaultRechargeSpeed;
- unsigned int neededMana;
+ unsigned neededMana;
TargetMode target;
Script::Ref rechargedCallback;
Script::Ref useCallback;
@@ -79,13 +79,13 @@ public:
/**
* Gets the specials Id from a set and a special string.
*/
- unsigned int getId(const std::string &set, const std::string &name) const;
+ unsigned getId(const std::string &set, const std::string &name) const;
/**
* Gets the specials Id from a string formatted in this way:
* "setname_skillname"
*/
- unsigned int getId(const std::string &specialName) const;
+ unsigned getId(const std::string &specialName) const;
const std::string getSpecialName(int id) const;
const std::string getSetName(int id) const;
@@ -102,7 +102,7 @@ private:
const std::string &setName);
std::string mSpecialFile;
- typedef std::map<unsigned int, SpecialInfo*> SpecialsInfo;
+ typedef std::map<unsigned, SpecialInfo*> SpecialsInfo;
SpecialsInfo mSpecialsInfo;
typedef utils::NameMap<SpecialInfo*> NamedSpecialsInfo;
NamedSpecialsInfo mNamedSpecialsInfo;