diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-26 17:37:19 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-26 17:37:19 +0200 |
commit | d83d6456e8aedf84dcda89eb29d20d8ba834748e (patch) | |
tree | 0f1b4b04adc925c425df1728e6efc8a4ccbfbfc8 /src/World.cpp | |
parent | Added type checking to map loading. (diff) | |
download | cuberite-d83d6456e8aedf84dcda89eb29d20d8ba834748e.tar cuberite-d83d6456e8aedf84dcda89eb29d20d8ba834748e.tar.gz cuberite-d83d6456e8aedf84dcda89eb29d20d8ba834748e.tar.bz2 cuberite-d83d6456e8aedf84dcda89eb29d20d8ba834748e.tar.lz cuberite-d83d6456e8aedf84dcda89eb29d20d8ba834748e.tar.xz cuberite-d83d6456e8aedf84dcda89eb29d20d8ba834748e.tar.zst cuberite-d83d6456e8aedf84dcda89eb29d20d8ba834748e.zip |
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.cpp b/src/World.cpp index 60d0ea723..1f3894978 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -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); } } |