Changeset 6927 for code/branches/presentation3/src/orxonox
- Timestamp:
- May 20, 2010, 10:28:10 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/LevelManager.cc
r6926 r6927 70 70 void LevelManager::requestActivity(Level* level) 71 71 { 72 COUT(0) << "pushing level into level list: " << level << endl; 72 if( std::find(this->levels_s.begin(), this->levels_s.end(), level)!=this->levels_s.end() ) 73 return; // level is already in list 73 74 this->levels_s.push_back(level); 74 75 if (this->levels_s.size() == 1) … … 78 79 void LevelManager::releaseActivity(Level* level) 79 80 { 80 COUT(0) << "poping level from level list: " << level << endl;81 81 if (this->levels_s.size() > 0) 82 82 {
Note: See TracChangeset
for help on using the changeset viewer.