diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-02 14:05:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-02 14:05:30 +0300 |
commit | 962f182fcc989ec587282e44f889188ce241ba31 (patch) | |
tree | da100971ec4952d0c56cb404862099c670bcfe0e /src/net/eathena/partyhandler.cpp | |
parent | 4df121e6dcdf53436f50ce81dd60096ce0138a2c (diff) | |
download | manaverse-962f182fcc989ec587282e44f889188ce241ba31.tar.gz manaverse-962f182fcc989ec587282e44f889188ce241ba31.tar.bz2 manaverse-962f182fcc989ec587282e44f889188ce241ba31.tar.xz manaverse-962f182fcc989ec587282e44f889188ce241ba31.zip |
Add const to more classes.
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r-- | src/net/eathena/partyhandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp index 04de35890..e1052d50d 100644 --- a/src/net/eathena/partyhandler.cpp +++ b/src/net/eathena/partyhandler.cpp @@ -122,7 +122,8 @@ void PartyHandler::invite(const std::string &name) if (!actorSpriteManager) return; - Being* being = actorSpriteManager->findBeingByName(name, Being::PLAYER); + const Being *const being = actorSpriteManager->findBeingByName( + name, Being::PLAYER); if (being) { MessageOut outMsg(CMSG_PARTY_INVITE); @@ -161,7 +162,7 @@ void PartyHandler::kick(const std::string &name) if (!Ea::taParty) return; - PartyMember *m = Ea::taParty->getMember(name); + const PartyMember *const m = Ea::taParty->getMember(name); if (!m) { if (Ea::partyTab) |