summaryrefslogtreecommitdiffstats
path: root/source/cServer.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-10 22:34:47 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-10 22:34:47 +0100
commite7731242c1315df230bffbf0593e1a608aa791a3 (patch)
tree803b09ea2e4485d979f2ed13b231e62237191861 /source/cServer.cpp
parentFixed mob spawn packet for 1.2 client, now client doesn't bail out when mobs are turned on (diff)
downloadcuberite-e7731242c1315df230bffbf0593e1a608aa791a3.tar
cuberite-e7731242c1315df230bffbf0593e1a608aa791a3.tar.gz
cuberite-e7731242c1315df230bffbf0593e1a608aa791a3.tar.bz2
cuberite-e7731242c1315df230bffbf0593e1a608aa791a3.tar.lz
cuberite-e7731242c1315df230bffbf0593e1a608aa791a3.tar.xz
cuberite-e7731242c1315df230bffbf0593e1a608aa791a3.tar.zst
cuberite-e7731242c1315df230bffbf0593e1a608aa791a3.zip
Diffstat (limited to 'source/cServer.cpp')
-rw-r--r--source/cServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cServer.cpp b/source/cServer.cpp
index 5412e4be5..b36d353cb 100644
--- a/source/cServer.cpp
+++ b/source/cServer.cpp
@@ -285,7 +285,7 @@ cServer::~cServer()
// TODO - Need to modify this or something, so it broadcasts to all worlds? And move this to cWorld?
-void cServer::Broadcast( const cPacket * a_Packet, cClientHandle* a_Exclude /* = 0 */ )
+void cServer::Broadcast( const cPacket & a_Packet, cClientHandle* a_Exclude /* = 0 */ )
{
cCSLock Lock(m_CSClients);
for( ClientList::iterator itr = m_Clients.begin(); itr != m_Clients.end(); ++itr)