aboutsummaryrefslogtreecommitdiff
path: root/scumm/player_v3a.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/player_v3a.cpp')
-rw-r--r--scumm/player_v3a.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/player_v3a.cpp b/scumm/player_v3a.cpp
index 387f74eddc..78c9391f27 100644
--- a/scumm/player_v3a.cpp
+++ b/scumm/player_v3a.cpp
@@ -294,11 +294,11 @@ int Player_V3A::getMusicTimer() const {
return _music_timer / 30;
}
-bool Player_V3A::getSoundStatus(int nr) const {
+int Player_V3A::getSoundStatus(int nr) const {
if (nr == _curSong)
- return true;
+ return 1;
for (int i = 0; i < V3A_MAXCHANS; i++)
if (_soundID[i] == nr)
- return true;
- return false;
+ return 1;
+ return 0;
}