diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-16 13:13:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-16 13:13:48 +0300 |
commit | 5b8f189276b3883253de31d5e7bbbf897d34c85b (patch) | |
tree | c3e6028d800e4caf4acb7ca3f45ba2e63e8df26b /src/net/eathena/beinghandler.cpp | |
parent | 47d811c90a4655b69f1846c16150efebbfa4ccfa (diff) | |
download | mv-5b8f189276b3883253de31d5e7bbbf897d34c85b.tar.gz mv-5b8f189276b3883253de31d5e7bbbf897d34c85b.tar.bz2 mv-5b8f189276b3883253de31d5e7bbbf897d34c85b.tar.xz mv-5b8f189276b3883253de31d5e7bbbf897d34c85b.zip |
Use guildmanager only if build with tmwa support.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index e5116a612..301c90b93 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -1489,16 +1489,8 @@ void BeingHandler::processPlayerGuilPartyInfo(Net::MessageIn &msg) { dstBeing->setName(msg.readString(24, "char name")); dstBeing->setPartyName(msg.readString(24, "party name")); - if (!guildManager || !GuildManager::getEnableGuildBot()) - { - dstBeing->setGuildName(msg.readString(24, "guild name")); - dstBeing->setGuildPos(msg.readString(24, "guild pos")); - } - else - { - msg.readString(24, "guild name"); - msg.readString(24, "guild pos"); - } + dstBeing->setGuildName(msg.readString(24, "guild name")); + dstBeing->setGuildPos(msg.readString(24, "guild pos")); dstBeing->addToCache(); } BLOCK_END("BeingHandler::processPlayerGuilPartyInfo") |