Changeset 11321 for code/branches/QuestGuide_HS16/src/modules
- Timestamp:
- Dec 5, 2016, 4:08:31 PM (8 years ago)
- Location:
- code/branches/QuestGuide_HS16/src/modules/waypoints
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/QuestGuide_HS16/src/modules/waypoints/WaypointGroup.cc
r11318 r11321 72 72 if (activeWaypoint == nullptr){ 73 73 orxout() << "Null Pointer" << endl; 74 activ eWaypoint = getFirst();74 activateNext(); 75 75 76 76 } … … 89 89 // } 90 90 91 Waypoint* WaypointGroup::getFirst(){92 std::set<Waypoint*>::iterator it = waypoints_.begin();93 return *it;94 }91 // Waypoint* WaypointGroup::getFirst(){ 92 // std::set<Waypoint*>::iterator it = waypoints_.begin(); 93 // return *it; 94 // } 95 95 96 96 -
code/branches/QuestGuide_HS16/src/modules/waypoints/WaypointGroup.h
r11318 r11321 51 51 void activateNext(); 52 52 53 Waypoint* getFirst();53 //Waypoint* getFirst(); 54 54 55 55 … … 64 64 std::set<Waypoint*> waypoints_; 65 65 Waypoint* activeWaypoint; 66 unsigned int current = 1;66 unsigned int current = 0; 67 67 //std::set<Waypoint*>::iterator it; 68 68
Note: See TracChangeset
for help on using the changeset viewer.