Changeset 3058 for code/trunk/src
- Timestamp:
- May 25, 2009, 2:45:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/Host.cc
r2773 r3058 105 105 bool Host::Broadcast(const std::string& message){ 106 106 if(!instance_) 107 return false; 107 { 108 for (ObjectList<ChatListener>::iterator it = ObjectList<ChatListener>::begin(); it != ObjectList<ChatListener>::end(); ++it) 109 it->incomingChat(message, playerID); 110 } 111 108 112 return instance_->broadcast(message); 109 113 }
Note: See TracChangeset
for help on using the changeset viewer.