Changeset 1534 for code/trunk/src/network/ConnectionManager.cc
- Timestamp:
- Jun 4, 2008, 8:53:10 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/ConnectionManager.cc
r1505 r1534 168 168 boost::recursive_mutex::scoped_lock lock(enet_mutex_); 169 169 for(ClientInformation *i=head_->next(); i!=0; i=i->next()){ 170 if(enet_peer_send(i->getPeer(), (enet_uint8)i->getID(), packet)!=0) 170 COUT(3) << "adding broadcast packet for client: " << i->getID() << std::endl; 171 if(enet_peer_send(i->getPeer(), 0, packet)!=0) 171 172 return false; 172 173 }
Note: See TracChangeset
for help on using the changeset viewer.