[Orxonox-commit 4247] r8918 - code/branches/spaceraceTwo/src/orxonox/gametypes
eceline at orxonox.net
eceline at orxonox.net
Wed Nov 2 15:36:21 CET 2011
Author: eceline
Date: 2011-11-02 15:36:21 +0100 (Wed, 02 Nov 2011)
New Revision: 8918
Modified:
code/branches/spaceraceTwo/src/orxonox/gametypes/Gametype.cc
Log:
flackert nicht mehr, einige Zeilen auskommentiert
Modified: code/branches/spaceraceTwo/src/orxonox/gametypes/Gametype.cc
===================================================================
--- code/branches/spaceraceTwo/src/orxonox/gametypes/Gametype.cc 2011-11-02 14:35:23 UTC (rev 8917)
+++ code/branches/spaceraceTwo/src/orxonox/gametypes/Gametype.cc 2011-11-02 14:36:21 UTC (rev 8918)
@@ -128,18 +128,18 @@
for (std::map<PlayerInfo*, Player>::iterator it = this->players_.begin(); it != this->players_.end(); ++it)
{
// Inform the GametypeInfo that the player is ready to spawn.
- if(it->first->isHumanPlayer() && it->first->isReadyToSpawn()){
+ if(it->first->isHumanPlayer() && it->first->isReadyToSpawn())
this->gtinfo_->playerReadyToSpawn(it->first);
- }
+
}
this->checkStart();
}
else if (!this->gtinfo_->hasEnded())
- { this->spawnDeadPlayersIfRequested();
+ this->spawnDeadPlayersIfRequested();
- this->assignDefaultPawnsIfNeeded();}
+ this->assignDefaultPawnsIfNeeded();
}
void Gametype::start()
More information about the Orxonox-commit
mailing list