aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJonathan Gray2003-05-24 01:20:50 +0000
committerJonathan Gray2003-05-24 01:20:50 +0000
commitc8276b46842197b8d0abccc5713d76fc128df57f (patch)
tree48e42e183e600e44c516fc6567ebbde35d8ba6f9 /scumm
parent0361f5a6c0d039b3ec179644781e2532ef749267 (diff)
downloadscummvm-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.cpp2
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;
}