Reverted: 3fdff8debe52 No comment
--HG-- branch : sound_dev
This commit is contained in:
parent
19546acade
commit
dd02d76df8
1 changed files with 1 additions and 5 deletions
|
@ -619,12 +619,8 @@ void CSoundDriverAL::commit3DChanges()
|
||||||
// Sync up sources & listener 3d position.
|
// Sync up sources & listener 3d position.
|
||||||
if (getOption(OptionManualRolloff))
|
if (getOption(OptionManualRolloff))
|
||||||
{
|
{
|
||||||
set<CSourceAL*>::iterator it = _Sources.begin(), iend = _Sources.end();
|
for (std::set<CSourceAL *>::iterator it(_Sources.begin()), end(_Sources.end()); it != end; ++it)
|
||||||
while(it != iend)
|
|
||||||
{
|
|
||||||
(*it)->updateManualRolloff();
|
(*it)->updateManualRolloff();
|
||||||
++it;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// update the music (XFade etc...)
|
// update the music (XFade etc...)
|
||||||
|
|
Loading…
Reference in a new issue