Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7695


Ignore:
Timestamp:
Dec 1, 2010, 11:51:16 PM (14 years ago)
Author:
jo
Message:

that wasnt it either

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/lastmanstanding/src/orxonox/gametypes/LastTeamStanding.cc

    r7693 r7695  
    5353        this->punishDamageRate=0.4f;
    5454        this->setHUDTemplate("LastTeamStandingHUD");
    55         this->eachTeamsPlayers = new eachTeamsPlayers[teams_];
     55        this->eachTeamsPlayers = new int[teams_];
    5656    }
    5757   
    5858    void LastTeamStanding::~LastTeamStanding()
    5959    {
    60         delete this->eachTeamsPlayers;
     60        delete[] this->eachTeamsPlayers;
    6161    }   
    6262
Note: See TracChangeset for help on using the changeset viewer.