diff options
author | Max Horn | 2003-09-07 17:14:56 +0000 |
---|---|---|
committer | Max Horn | 2003-09-07 17:14:56 +0000 |
commit | 361c3b95d52babd23b78864e6679334ed1c9e316 (patch) | |
tree | 97538bbcab6862f5a5c5a88e681907ba301e44c6 /scumm/player_v2.cpp | |
parent | 38402315d5cb34b610db2eaf9025c307ed8ba374 (diff) | |
download | scummvm-rg350-361c3b95d52babd23b78864e6679334ed1c9e316.tar.gz scummvm-rg350-361c3b95d52babd23b78864e6679334ed1c9e316.tar.bz2 scummvm-rg350-361c3b95d52babd23b78864e6679334ed1c9e316.zip |
some cleanup; clarified isSoundInUse semantics and the difference between IMuse::get_sound_active and IMuse::getSoundStatus; added lots of const qualifiers to IMuse; rewrote IMuseInternal::getSoundStatus (hopefully not breaking it); added MusicEngine::getSoundStatus
svn-id: r10069
Diffstat (limited to 'scumm/player_v2.cpp')
-rw-r--r-- | scumm/player_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/player_v2.cpp b/scumm/player_v2.cpp index 5543d57fdf..0538631a87 100644 --- a/scumm/player_v2.cpp +++ b/scumm/player_v2.cpp @@ -522,7 +522,7 @@ void Player_V2::startSound(int nr) { mutex_down(); } -bool Player_V2::getSoundStatus(int nr) const { +int Player_V2::getSoundStatus(int nr) const { return _current_nr == nr || _next_nr == nr; } |