summaryrefslogtreecommitdiff
path: root/src/guildmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-13 23:54:06 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-13 23:54:06 +0300
commit6065690856ffc750404c9c0940d9a1f3a0cdd42c (patch)
tree5c9982c794c5631a967436032f9a6d55a0dacd08 /src/guildmanager.cpp
parent424ed0b25065cc5ecc4b8464db2581a03189ef60 (diff)
downloadmanaplus-6065690856ffc750404c9c0940d9a1f3a0cdd42c.tar.gz
manaplus-6065690856ffc750404c9c0940d9a1f3a0cdd42c.tar.bz2
manaplus-6065690856ffc750404c9c0940d9a1f3a0cdd42c.tar.xz
manaplus-6065690856ffc750404c9c0940d9a1f3a0cdd42c.zip
Add player/item/other counter in social window.
Diffstat (limited to 'src/guildmanager.cpp')
-rw-r--r--src/guildmanager.cpp6
1 files changed, 6 insertions, 0 deletions
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 "))