- Timestamp:
- Aug 7, 2011, 3:11:16 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/orxonox/gametypes/UnderAttack.cc
r8822 r8829 32 32 #include "core/CoreIncludes.h" 33 33 #include "core/ConfigValueIncludes.h" 34 #include " network/Host.h"34 #include "chat/ChatManager.h" 35 35 #include "worldentities/pawns/Destroyer.h" 36 36 #include "infos/PlayerInfo.h" … … 70 70 this->end(); //end gametype 71 71 std::string message("Ship destroyed! Team 0 has won!"); 72 Host::Broadcast(message);72 ChatManager::message(message); 73 73 this->gameEnded_ = true; 74 74 … … 152 152 this->end(); 153 153 std::string message("Time is up! Team 1 has won!"); 154 Host::Broadcast(message);154 ChatManager::message(message); 155 155 156 156 for (std::map<PlayerInfo*, int>::iterator it = this->teamnumbers_.begin(); it != this->teamnumbers_.end(); ++it) … … 171 171 const std::string& message = multi_cast<std::string>(timesequence_) + " seconds left!"; 172 172 /* 173 Host::Broadcast(message);173 ChatManager::message(message); 174 174 */ 175 175 this->gtinfo_->sendAnnounceMessage(message);
Note: See TracChangeset
for help on using the changeset viewer.