diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-30 18:04:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-30 18:04:08 +0300 |
commit | 19738d5a2d5d96aef78e51da99061a22d7cf15bb (patch) | |
tree | dced9aacaf48cf32d4a1d4a7399861c96aebc22c /src/net/tmwa/guildhandler.cpp | |
parent | c96d089ab76316e5117c49e2ccdd3e9aab4bd29f (diff) | |
download | manaplus-19738d5a2d5d96aef78e51da99061a22d7cf15bb.tar.gz manaplus-19738d5a2d5d96aef78e51da99061a22d7cf15bb.tar.bz2 manaplus-19738d5a2d5d96aef78e51da99061a22d7cf15bb.tar.xz manaplus-19738d5a2d5d96aef78e51da99061a22d7cf15bb.zip |
Remove unused code from guildhandler.
Fix memory leak in guild class.
Diffstat (limited to 'src/net/tmwa/guildhandler.cpp')
-rw-r--r-- | src/net/tmwa/guildhandler.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp index cbb32c3c8..43583971f 100644 --- a/src/net/tmwa/guildhandler.cpp +++ b/src/net/tmwa/guildhandler.cpp @@ -311,24 +311,6 @@ void GuildHandler::changeMemberPostion(GuildMember *member, int level) msg.writeInt32(level); // pos } -void GuildHandler::requestAlliance(int guildId A_UNUSED, - int otherGuildId A_UNUSED) -{ - // TODO -} - -void GuildHandler::requestAllianceResponse(int guildId A_UNUSED, - int otherGuildId A_UNUSED, - bool response A_UNUSED) -{ - // TODO -} - -void GuildHandler::endAlliance(int guildId A_UNUSED, int otherGuildId A_UNUSED) -{ - // TODO -} - void GuildHandler::changeNotice(int guildId, std::string msg1, std::string msg2) { @@ -338,9 +320,4 @@ void GuildHandler::changeNotice(int guildId, std::string msg1, msg.writeString(msg2, 120); // msg2 } -bool GuildHandler::isSupported() -{ - return true; -} - } // namespace TmwAthena |