Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 14, 2012, 4:17:08 PM (11 years ago)
Author:
purgham
Message:

works but its not properly coded

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Racingbot/src/modules/gametypes/RaceCheckPoint.h

    r9508 r9512  
    6767            const std::set<int>& getVirtualNextCheckpoints() const
    6868            {
    69                 return this->nextCheckpoints_;
     69                return this->nextCheckpointsVirtual_;
    7070            }
    71             std::set<int> getNextCheckpoints()
     71
     72            const std::set<int>& getNextCheckpoints()
    7273            {
     74                return nextCheckpoints_;
    7375                std::set<int> temp;
    7476                std::set<int> temp2=getVirtualNextCheckpoints();
     
    119121            std::vector<PlayerInfo*> players_; ///< The player that reached the checkpoint
    120122            Vector3 myPosition_;
     123            std::set<int>  nextCheckpointsVirtual_;
    121124            std::map<int,int> virtualToRealCheckPoints_; // if virtualChepoint was inserted the original can be reconstructed
    122125    };
Note: See TracChangeset for help on using the changeset viewer.