- Timestamp:
- Oct 19, 2011, 4:21:48 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/spaceraceTwo/src/orxonox/gametypes/Gametype.cc
r8858 r8898 123 123 if (this->gtinfo_->isStartCountdownRunning() && !this->gtinfo_->hasStarted()) 124 124 this->gtinfo_->countdownStartCountdown(dt); 125 125 126 126 if (!this->gtinfo_->hasStarted()) 127 127 { … … 129 129 { 130 130 // Inform the GametypeInfo that the player is ready to spawn. 131 if(it->first->isHumanPlayer() && it->first->isReadyToSpawn()) 131 if(it->first->isHumanPlayer() && it->first->isReadyToSpawn()){ 132 132 this->gtinfo_->playerReadyToSpawn(it->first); 133 } 134 135 this->checkStart(); 133 134 } 135 } 136 137 this->checkStart(); 136 138 } 137 139 else if (!this->gtinfo_->hasEnded()) 138 this->spawnDeadPlayersIfRequested();139 140 this->assignDefaultPawnsIfNeeded(); 140 { this->spawnDeadPlayersIfRequested(); 141 142 this->assignDefaultPawnsIfNeeded();} 141 143 } 142 144
Note: See TracChangeset
for help on using the changeset viewer.