Changeset 6413 for code/branches/presentation2/src/orxonox/sound
- Timestamp:
- Dec 25, 2009, 2:06:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/sound/SoundManager.cc
r6411 r6413 608 608 } 609 609 } 610 int used = std::max( this->usedSoundSources_.size(), this->minSources_);610 int used = std::max((unsigned int)(this->usedSoundSources_.size()), this->minSources_); 611 611 // Subtract those we added in the statement above trough std::max 612 612 int available = (int)this->availableSoundSources_.size() - (used - (int)this->usedSoundSources_.size());
Note: See TracChangeset
for help on using the changeset viewer.