1
0

Fixed players custom name in 1.8

This commit is contained in:
Howaner
2014-09-26 17:37:19 +02:00
parent 749c6092d3
commit d83d6456e8
14 changed files with 30 additions and 66 deletions

View File

@@ -2236,7 +2236,7 @@ void cWorld::BroadcastPlayerListUpdatePing(const cPlayer & a_Player, const cClie
void cWorld::BroadcastPlayerListUpdateDisplayName(const cPlayer & a_Player, const AString & a_OldListName, const cClientHandle * a_Exclude)
void cWorld::BroadcastPlayerListUpdateDisplayName(const cPlayer & a_Player, const AString & a_CustomName, const cClientHandle * a_Exclude)
{
cCSLock Lock(m_CSPlayers);
for (cPlayerList::iterator itr = m_Players.begin(); itr != m_Players.end(); ++itr)
@@ -2246,7 +2246,7 @@ void cWorld::BroadcastPlayerListUpdateDisplayName(const cPlayer & a_Player, cons
{
continue;
}
ch->SendPlayerListUpdateDisplayName(a_Player, a_OldListName);
ch->SendPlayerListUpdateDisplayName(a_Player, a_CustomName);
}
}