- Timestamp:
- Nov 24, 2009, 3:16:12 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/sound/SoundManager.cc
r6117 r6138 263 263 264 264 // FADE IN 265 for (std::list<AmbientSound*>::iterator it= this->fadeInList_.begin(); it != this->fadeInList_.end(); it)265 for (std::list<AmbientSound*>::iterator it= this->fadeInList_.begin(); it != this->fadeInList_.end(); ) 266 266 { 267 267 if ((*it)->getVolume() + this->crossFadeStep_*dt > 1.0f) … … 278 278 279 279 // FADE OUT 280 for (std::list<AmbientSound*>::iterator it = this->fadeOutList_.begin(); it != this->fadeOutList_.end(); it)280 for (std::list<AmbientSound*>::iterator it = this->fadeOutList_.begin(); it != this->fadeOutList_.end(); ) 281 281 { 282 282 if ((*it)->getVolume() - this->crossFadeStep_*dt < 0.0f)
Note: See TracChangeset
for help on using the changeset viewer.