Changeset 7828 for code/branches/tutoriallevel/src/orxonox
- Timestamp:
- Jan 13, 2011, 9:56:25 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tutoriallevel/src/orxonox/LevelManager.cc
r7804 r7828 213 213 { 214 214 // If this index is bigger than the last, we can optimize a little. 215 if(index >this->nextIndex_)215 if(index < this->nextIndex_) 216 216 { 217 217 this->nextIndex_ = 0; 218 218 this->nextLevel_ = this->availableLevels_.begin(); 219 219 } 220 220 221 while(this->nextIndex_ != index) 221 222 {
Note: See TracChangeset
for help on using the changeset viewer.