| 2129 | |
| 2130 | |
| 2131 | void cWorld::BroadcastTimeUpdate(const cClientHandle * a_Exclude) |
| 2132 | { |
| 2133 | cCSLock Lock(m_CSPlayers); |
| 2134 | for (cPlayerList::iterator itr = m_Players.begin(); itr != m_Players.end(); ++itr) |
| 2135 | { |
| 2136 | cClientHandle * ch = (*itr)->GetClientHandle(); |
| 2137 | if ((ch == a_Exclude) || (ch == NULL) || !ch->IsLoggedIn() || ch->IsDestroyed()) |
| 2138 | { |
| 2139 | continue; |
| 2140 | } |
| 2141 | ch->SendTimeUpdate(m_WorldAge, m_TimeOfDay); |
| 2142 | } |
| 2143 | } |
| 2144 | |
| 2145 | |
| 2146 |
nothing calls this directly
no test coverage detected