diff options
author | Jonathan Gray | 2003-05-24 01:20:50 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-05-24 01:20:50 +0000 |
commit | c8276b46842197b8d0abccc5713d76fc128df57f (patch) | |
tree | 48e42e183e600e44c516fc6567ebbde35d8ba6f9 /scumm | |
parent | 0361f5a6c0d039b3ec179644781e2532ef749267 (diff) | |
download | scummvm-rg350-c8276b46842197b8d0abccc5713d76fc128df57f.tar.gz scummvm-rg350-c8276b46842197b8d0abccc5713d76fc128df57f.tar.bz2 scummvm-rg350-c8276b46842197b8d0abccc5713d76fc128df57f.zip |
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
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp index 75098556f3..d5ec87f37d 100644 --- a/scumm/imuse.cpp +++ b/scumm/imuse.cpp @@ -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; } |