Changeset 9348 for code/trunk/src/modules/gametypes/SpaceRace.cc
- Timestamp:
- Aug 30, 2012, 11:08:17 PM (12 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:ignore
-
old new 1 .project 1 2 build 2 3 codeblocks 4 dependencies 3 5 vs 4 dependencies
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
code/trunk/src/modules/gametypes/SpaceRace.cc
r9263 r9348 23 23 * Mauro Salomon 24 24 * Co-authors: 25 * ...25 * Celine Egger 26 26 * 27 27 */ … … 48 48 this->cantMove_ = false; 49 49 this->bTimeIsUp_ = false; 50 this->numberOfBots_ = 0; // quick fix: don't allow default-bots to enter the race 51 // remove this line, if a raceBot has been created. 50 52 } 51 53 … … 70 72 } 71 73 72 const_cast<GametypeInfo*>(this->getGametypeInfo())->sendAnnounceMessage(message);74 this->getGametypeInfo()->sendAnnounceMessage(message); 73 75 ChatManager::message(message); 74 76 } … … 97 99 98 100 std::string message = "The match has started! Reach the check points as quickly as possible!"; 99 const_cast<GametypeInfo*>(this->getGametypeInfo())->sendAnnounceMessage(message);101 this->getGametypeInfo()->sendAnnounceMessage(message); 100 102 ChatManager::message(message); 101 103 } … … 112 114 const std::string& message = "Checkpoint " + multi_cast<std::string>(checkpoint->getCheckpointIndex() + 1) 113 115 + " reached after " + multi_cast<std::string>(s) + "." + multi_cast<std::string>(ms) + " seconds."; 114 const_cast<GametypeInfo*>(this->getGametypeInfo())->sendAnnounceMessage(message);116 this->getGametypeInfo()->sendAnnounceMessage(message); 115 117 ChatManager::message(message); 116 118 }
Note: See TracChangeset
for help on using the changeset viewer.