- Timestamp:
- Aug 19, 2010, 5:48:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/network/Host.cc
r7163 r7190 89 89 } 90 90 91 boolHost::Chat(const std::string& message)91 void Host::Chat(const std::string& message) 92 92 { 93 93 if(instances_s.size()==0) … … 95 95 for (ObjectList<ChatListener>::iterator it = ObjectList<ChatListener>::begin(); it != ObjectList<ChatListener>::end(); ++it) 96 96 it->incomingChat(message, 0); 97 return true;97 // return true; 98 98 } 99 99 else … … 108 108 } 109 109 } 110 return result;110 // return result; 111 111 } 112 112 } … … 139 139 for (ObjectList<ChatListener>::iterator it = ObjectList<ChatListener>::begin(); it != ObjectList<ChatListener>::end(); ++it) 140 140 it->incomingChat(message, playerID); 141 141 142 142 bool result = true; 143 143 for( std::vector<Host*>::iterator it = instances_s.begin(); it!=instances_s.end(); ++it )
Note: See TracChangeset
for help on using the changeset viewer.