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:
Jonathan Gray 2003-05-24 01:20:50 +00:00
parent 0361f5a6c0
commit c8276b4684

View file

@ -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;
}