[Orxonox-commit 2999] r7695 - code/branches/lastmanstanding/src/orxonox/gametypes

jo at orxonox.net jo at orxonox.net
Wed Dec 1 23:51:17 CET 2010


Author: jo
Date: 2010-12-01 23:51:16 +0100 (Wed, 01 Dec 2010)
New Revision: 7695

Modified:
   code/branches/lastmanstanding/src/orxonox/gametypes/LastTeamStanding.cc
Log:
that wasnt it either

Modified: code/branches/lastmanstanding/src/orxonox/gametypes/LastTeamStanding.cc
===================================================================
--- code/branches/lastmanstanding/src/orxonox/gametypes/LastTeamStanding.cc	2010-12-01 21:34:17 UTC (rev 7694)
+++ code/branches/lastmanstanding/src/orxonox/gametypes/LastTeamStanding.cc	2010-12-01 22:51:16 UTC (rev 7695)
@@ -52,12 +52,12 @@
         this->bHardPunishment=false;
         this->punishDamageRate=0.4f;
         this->setHUDTemplate("LastTeamStandingHUD");
-        this->eachTeamsPlayers = new eachTeamsPlayers[teams_];
+        this->eachTeamsPlayers = new int[teams_];
     }
     
     void LastTeamStanding::~LastTeamStanding()
     {
-        delete this->eachTeamsPlayers;
+        delete[] this->eachTeamsPlayers;
     }   
 
     void LastTeamStanding::spawnDeadPlayersIfRequested()




More information about the Orxonox-commit mailing list