Changeset 8949 for code/branches/spaceraceTwo/src/orxonox
- Timestamp:
- Nov 23, 2011, 4:16:15 PM (13 years ago)
- Location:
- code/branches/spaceraceTwo/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/spaceraceTwo/src/orxonox/gametypes/Gametype.cc
r8944 r8949 134 134 135 135 } 136 137 const std::string& message = "Gametype should start"; 138 orxout()<< message << endl; 139 this->start(); 140 const std::string& message2 = "Gametype should have started"; 141 orxout()<< message2 << endl; 136 137 this->checkStart(); 138 142 139 143 140 } … … 149 146 150 147 void Gametype::start() 151 { const std::string& message = "Gametype starts"; 152 orxout()<< message << endl; 148 { 153 149 154 150 this->addBots(this->numberOfBots_); … … 158 154 this->spawnPlayersIfRequested(); 159 155 160 156 161 157 } 162 158 … … 387 383 { 388 384 this->gtinfo_->stopStartCountdown(); 389 this->gtinfo_->setStartCountdown(0.0f); ;385 this->gtinfo_->setStartCountdown(0.0f); 390 386 this->start(); 391 387 } … … 408 404 hashumanplayers = true; 409 405 } 406 410 407 if (allplayersready && hashumanplayers) 411 408 { … … 419 416 } 420 417 } 418 421 419 } 422 420 } -
code/branches/spaceraceTwo/src/orxonox/infos/GametypeInfo.cc
r8944 r8949 164 164 { 165 165 if(this->bStarted_) 166 {const std::string& message = "bStarted true"; 167 orxout()<< message << endl; return;} 166 { return;} 168 167 169 168 this->bStarted_ = true; 170 169 this->changedStarted(); 171 170 172 const std::string& message = "bStarted true"; 173 orxout()<< message << endl; 171 174 172 } 175 173
Note: See TracChangeset
for help on using the changeset viewer.