[Orxonox-commit 3526] r8212 - code/trunk/src/orxonox/gametypes

jo at orxonox.net jo at orxonox.net
Fri Apr 8 23:51:22 CEST 2011


Author: jo
Date: 2011-04-08 23:51:22 +0200 (Fri, 08 Apr 2011)
New Revision: 8212

Modified:
   code/trunk/src/orxonox/gametypes/LastTeamStanding.cc
Log:
Set lives value to 4 in last team standing gametype. 1 live is only needed for testing purposes.

Modified: code/trunk/src/orxonox/gametypes/LastTeamStanding.cc
===================================================================
--- code/trunk/src/orxonox/gametypes/LastTeamStanding.cc	2011-04-08 05:52:54 UTC (rev 8211)
+++ code/trunk/src/orxonox/gametypes/LastTeamStanding.cc	2011-04-08 21:51:22 UTC (rev 8212)
@@ -43,7 +43,7 @@
     {
         RegisterObject(LastTeamStanding);
         this->bForceSpawn_ = true;
-        this->lives = 1;//4
+        this->lives = 4;
         this->eachTeamsPlayers.resize(teams_,0);
         this->teamsAlive = 0;
         this->bNoPunishment = false;
@@ -56,11 +56,6 @@
     
     LastTeamStanding::~LastTeamStanding()
     {
-        //this->playerLives_.clear();
-        //this->eachTeamsPlayers.clear();
-        //this->timeToAct_.clear();
-        //this->inGame_.clear();
-        //this->playerDelayTime_.clear();
     }   
 
     void LastTeamStanding::playerEntered(PlayerInfo* player)




More information about the Orxonox-commit mailing list