returning 1 instead of the id is the correct behaviour I believe, but the scripts check for a 0 result so either will work. I'm just picky :)
svn-id: r7871
This commit is contained in:
parent
0361f5a6c0
commit
c8276b4684
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ int IMuseInternal::getSoundStatus (int sound, bool ignoreFadeouts) {
|
|||
player = _players;
|
||||
for (int i = ARRAYSIZE(_players); i; --i, ++player) {
|
||||
if (player->isActive() && (!ignoreFadeouts || !player->isFadingOut()))
|
||||
return player->getID();
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue