Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 3, 2014, 9:29:13 PM (11 years ago)
Author:
landauf
Message:

removed unused variable. RaceCheckPoint is a WorldEntity itself, so it already has a position anyway

Location:
code/trunk/src/modules/gametypes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/gametypes/RaceCheckPoint.cc

    r9667 r9963  
    6262        //this->players_ = vector<PlayerInfo*>();
    6363
    64         myPosition_= this->getPosition(); //eingefuegt
    6564        //orxout(user_status) << "test" << std::endl;
    6665    }
  • code/trunk/src/modules/gametypes/RaceCheckPoint.h

    r9667 r9963  
    120120            float timeLimit_; ///< The time limit (from the start of the level) to reach this check point. If the check point is reached after this time, the game ends and the player looses.
    121121            std::vector<PlayerInfo*> players_; ///< The player that reached the checkpoint
    122             Vector3 myPosition_;
    123122            std::set<int>  nextCheckpointsVirtual_;
    124123            std::map<int,int> virtualToRealCheckPoints_; // if virtualChepoint was inserted the original can be reconstructed
Note: See TracChangeset for help on using the changeset viewer.