Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 25, 2009, 2:07:44 PM (14 years ago)
Author:
dafrick
Message:

Added changes to presentation2 here as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup2/src/orxonox/sound/SoundManager.cc

    r6412 r6414  
    608608            }
    609609        }
    610         int used = std::max(this->usedSoundSources_.size(), this->minSources_);
     610        int used = std::max((unsigned int)(this->usedSoundSources_.size()), this->minSources_);
    611611        // Subtract those we added in the statement above trough std::max
    612612        int available = (int)this->availableSoundSources_.size() - (used - (int)this->usedSoundSources_.size());
Note: See TracChangeset for help on using the changeset viewer.