Core/Player: Correctly send social list to player on login. Fixes display of number of online friends in the icon on the chat pane.

Fixes issue #3807.

--HG--
branch : trunk
This commit is contained in:
Machiavelli committed 2010-09-25 17:08:55 +02:00
1 parent 5aaef4601a
commit a312a667cb
4 files changed
+5 -5

No files matched your search

+2 -1
View File
@@ -20978,7 +20978,8 @@ void Player::SetGroup(Group *group, int8 subgroup)
void Player::SendInitialPacketsBeforeAddToMap()
{
GetSocial()->SendSocialList();
/// Pass 'this' as argument because we're not stored in ObjectAccessor yet
GetSocial()->SendSocialList(this);
// guild bank list wtf?