diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-21 18:57:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-21 18:57:48 +0300 |
commit | 35cfd460655878c9a615abc8ea1cb2f7577a7f3b (patch) | |
tree | 2b4cb899f7f442912f89de30f4a5ab0add0727ce /src/party.cpp | |
parent | cfe4c893ba4ba30379919636d3c508ebf1594e23 (diff) | |
download | mv-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.gz mv-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.bz2 mv-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.xz mv-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.zip |
some other fixes from cpplint.
Diffstat (limited to 'src/party.cpp')
-rw-r--r-- | src/party.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/party.cpp b/src/party.cpp index 48cdfed56..c9e781b00 100644 --- a/src/party.cpp +++ b/src/party.cpp @@ -59,7 +59,7 @@ PartyMember::PartyMember(Party *const party, const int id, Party::PartyMap Party::parties; -Party::Party(const short id) : +Party::Party(const int16_t id) : mMembers(), mName(), mId(id), @@ -210,7 +210,7 @@ Avatar *Party::getAvatarAt(const int index) return mMembers[index]; } -void Party::setRights(const short rights) +void Party::setRights(const int16_t rights) { // to invite, rights must be greater than 0 if (rights > 0) @@ -296,7 +296,7 @@ void Party::getNamesSet(std::set<std::string> &names) const } } -Party *Party::getParty(const short id) +Party *Party::getParty(const int16_t id) { const PartyMap::const_iterator it = parties.find(id); if (it != parties.end()) |