diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-07 19:58:52 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-07 19:58:52 +0100 |
commit | 88a64ec40df87f21a89de43fe8bb78f10ee7eeb7 (patch) | |
tree | 631707789a182751d5d7276fb54455d500f94c3b /src/Root.cpp | |
parent | Server internally uses new functions (diff) | |
download | cuberite-88a64ec40df87f21a89de43fe8bb78f10ee7eeb7.tar cuberite-88a64ec40df87f21a89de43fe8bb78f10ee7eeb7.tar.gz cuberite-88a64ec40df87f21a89de43fe8bb78f10ee7eeb7.tar.bz2 cuberite-88a64ec40df87f21a89de43fe8bb78f10ee7eeb7.tar.lz cuberite-88a64ec40df87f21a89de43fe8bb78f10ee7eeb7.tar.xz cuberite-88a64ec40df87f21a89de43fe8bb78f10ee7eeb7.tar.zst cuberite-88a64ec40df87f21a89de43fe8bb78f10ee7eeb7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Root.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Root.cpp b/src/Root.cpp index 883bfe76e..3e1898c42 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -536,11 +536,11 @@ void cRoot::SaveAllChunks(void) -void cRoot::BroadcastChat(const AString & a_Message) +void cRoot::LoopWorldsAndBroadcastChat(const AString & a_Message, ChatPrefixCodes a_ChatPrefix) { for (WorldMap::iterator itr = m_WorldsByName.begin(), end = m_WorldsByName.end(); itr != end; ++itr) { - itr->second->BroadcastChat(a_Message); + itr->second->LoopPlayersAndBroadcastChat(a_Message, a_ChatPrefix); } // for itr - m_WorldsByName[] } |