summaryrefslogtreecommitdiffstats
path: root/source/cServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cServer.cpp')
-rw-r--r--source/cServer.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/cServer.cpp b/source/cServer.cpp
index ebd91db94..81444f8e1 100644
--- a/source/cServer.cpp
+++ b/source/cServer.cpp
@@ -258,16 +258,6 @@ void cServer::Broadcast( const cPacket & a_Packet, cClientHandle* a_Exclude /* =
}
}
-// TODO - Need to move this to cWorld I think
-void cServer::SendAllEntitiesTo(cClientHandle* a_Target)
-{
- cWorld* World = cRoot::Get()->GetWorld();
- for( cWorld::EntityList::iterator itr = World->GetEntities().begin(); itr != World->GetEntities().end(); ++itr)
- {
- (*itr)->SpawnOn( a_Target );
- }
-}
-
void cServer::StartListenClient()
{
cSocket SClient = m_pState->SListenClient.Accept();