diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-22 22:35:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-22 22:35:19 +0300 |
commit | 67fc3968fed2fae2886a6185039b856ffacb3c84 (patch) | |
tree | 95e5ddd0b7ed43b7b3d61974195199e955442f21 /src/net | |
parent | c8c6a0f62f313ef52be214e3851f6a5bc580b039 (diff) | |
download | mv-67fc3968fed2fae2886a6185039b856ffacb3c84.tar.gz mv-67fc3968fed2fae2886a6185039b856ffacb3c84.tar.bz2 mv-67fc3968fed2fae2886a6185039b856ffacb3c84.tar.xz mv-67fc3968fed2fae2886a6185039b856ffacb3c84.zip |
Remove default parameters from socialwindow.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/guildrecv.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/guildmanager.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/net/eathena/guildrecv.cpp b/src/net/eathena/guildrecv.cpp index c0be1be01..cf2a5a3dd 100644 --- a/src/net/eathena/guildrecv.cpp +++ b/src/net/eathena/guildrecv.cpp @@ -679,7 +679,7 @@ void GuildRecv::processGuildMemberLogin(Net::MessageIn &msg) if (guildTab != nullptr) guildTab->showOnline(m->getName(), fromBool(online, Online)); if (socialWindow != nullptr) - socialWindow->updateGuildCounter(); + socialWindow->updateGuildCounter(0, 0); } } } diff --git a/src/net/tmwa/guildmanager.cpp b/src/net/tmwa/guildmanager.cpp index df73a6c40..2e33e3372 100644 --- a/src/net/tmwa/guildmanager.cpp +++ b/src/net/tmwa/guildmanager.cpp @@ -221,7 +221,7 @@ void GuildManager::updateList() actorManager->updatePlayerColors(); } if (socialWindow != nullptr) - socialWindow->updateGuildCounter(); + socialWindow->updateGuildCounter(0, 0); } mTempList.clear(); mSentInfoRequest = false; @@ -285,7 +285,7 @@ bool GuildManager::process(std::string msg) if (mTab != nullptr) mTab->showOnline(msg, Online_false); if (socialWindow != nullptr) - socialWindow->updateGuildCounter(); + socialWindow->updateGuildCounter(0, 0); return true; } else if (!haveNick && findCutLast(msg, " is now Online.")) @@ -305,7 +305,7 @@ bool GuildManager::process(std::string msg) if (mTab != nullptr) mTab->showOnline(msg, Online_true); if (socialWindow != nullptr) - socialWindow->updateGuildCounter(); + socialWindow->updateGuildCounter(0, 0); return true; } else if (findCutFirst(msg, "Welcome to the ")) |