Changeset 11083 for code/trunk/src/orxonox/gametypes
- Timestamp:
- Jan 21, 2016, 1:59:04 PM (8 years ago)
- Location:
- code/trunk/src/orxonox/gametypes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/gametypes/LastManStanding.cc
r11071 r11083 88 88 if (it->first->getClientID()== NETWORK_PEER_ID_UNKNOWN) 89 89 return true; 90 const std::string &message = ""; // resets Camper-Warning-message90 const std::string message = ""; // resets Camper-Warning-message 91 91 this->gtinfo_->sendFadingMessage(message,it->first->getClientID()); 92 92 } … … 195 195 if (it->first->getClientID()== NETWORK_PEER_ID_UNKNOWN) 196 196 return; 197 const std::string &message = ""; // resets Camper-Warning-message197 const std::string message = ""; // resets Camper-Warning-message 198 198 this->gtinfo_->sendFadingMessage(message,it->first->getClientID()); 199 199 } … … 262 262 if (mapEntry.first->getClientID()== NETWORK_PEER_ID_UNKNOWN) 263 263 return; 264 const std::string &message = ""; // resets Camper-Warning-message264 const std::string message = ""; // resets Camper-Warning-message 265 265 this->gtinfo_->sendFadingMessage(message,mapEntry.first->getClientID()); 266 266 } … … 270 270 if (mapEntry.first->getClientID()== NETWORK_PEER_ID_UNKNOWN) 271 271 continue; 272 const std::string &message = "Camper Warning! Don't forget to shoot.";272 const std::string message = "Camper Warning! Don't forget to shoot."; 273 273 this->gtinfo_->sendFadingMessage(message,mapEntry.first->getClientID()); 274 274 } -
code/trunk/src/orxonox/gametypes/LastTeamStanding.cc
r11071 r11083 136 136 if (it->first->getClientID()== NETWORK_PEER_ID_UNKNOWN) 137 137 return true; 138 const std::string &message = ""; // resets Camper-Warning-message138 const std::string message = ""; // resets Camper-Warning-message 139 139 this->gtinfo_->sendFadingMessage(message,it->first->getClientID()); 140 140 } … … 170 170 if (it->first->getClientID()== NETWORK_PEER_ID_UNKNOWN) 171 171 return; 172 const std::string &message = ""; // resets Camper-Warning-message172 const std::string message = ""; // resets Camper-Warning-message 173 173 this->gtinfo_->sendFadingMessage(message,it->first->getClientID()); 174 174 } … … 209 209 if (mapEntry.first->getClientID() == NETWORK_PEER_ID_UNKNOWN) 210 210 return; 211 const std::string &message = ""; // resets Camper-Warning-message211 const std::string message = ""; // resets Camper-Warning-message 212 212 this->gtinfo_->sendFadingMessage(message, mapEntry.first->getClientID()); 213 213 } … … 217 217 if (mapEntry.first->getClientID()== NETWORK_PEER_ID_UNKNOWN) 218 218 continue; 219 const std::string &message = "Camper Warning! Don't forget to shoot.";219 const std::string message = "Camper Warning! Don't forget to shoot."; 220 220 this->gtinfo_->sendFadingMessage(message, mapEntry.first->getClientID()); 221 221 }
Note: See TracChangeset
for help on using the changeset viewer.