- Timestamp:
- Dec 2, 2015, 11:22:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/orxonox/sound/SoundManager.cc
r10821 r10916 407 407 if (ambient != nullptr) 408 408 { 409 for ( auto & elem: this->ambientSounds_)410 { 411 if ( elem.first == ambient)409 for (std::pair<AmbientSound*, bool>& pair : this->ambientSounds_) 410 { 411 if (pair.first == ambient) 412 412 { 413 elem.second = true;414 this->fadeOut( elem.first);413 pair.second = true; 414 this->fadeOut(pair.first); 415 415 return; 416 416 }
Note: See TracChangeset
for help on using the changeset viewer.