From 6065690856ffc750404c9c0940d9a1f3a0cdd42c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 13 Aug 2013 23:54:06 +0300 Subject: Add player/item/other counter in social window. --- src/guildmanager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/guildmanager.cpp') diff --git a/src/guildmanager.cpp b/src/guildmanager.cpp index 62b478a5a..6fbf15666 100644 --- a/src/guildmanager.cpp +++ b/src/guildmanager.cpp @@ -211,6 +211,8 @@ void GuildManager::updateList() actorSpriteManager->updatePlayerGuild(); actorSpriteManager->updatePlayerColors(); } + if (socialWindow) + socialWindow->updateGuildCounter(); } mTempList.clear(); mSentInfoRequest = false; @@ -273,6 +275,8 @@ bool GuildManager::process(std::string msg) mRequest = false; if (mTab) mTab->showOnline(msg, false); + if (socialWindow) + socialWindow->updateGuildCounter(); return true; } else if (!haveNick && findCutLast(msg, " is now Online.")) @@ -291,6 +295,8 @@ bool GuildManager::process(std::string msg) mRequest = false; if (mTab) mTab->showOnline(msg, true); + if (socialWindow) + socialWindow->updateGuildCounter(); return true; } else if (findCutFirst(msg, "Welcome to the ")) -- cgit v1.2.3-60-g2f50