aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorStrangerke2019-09-06 22:28:37 +0200
committerStrangerke2019-09-06 22:28:37 +0200
commit82c47d75cd524fa5a02cd1aed063fc1566e815c2 (patch)
treeb0b3aec834e3f538bd3aa010f0bbb01519bd2391 /engines/hdb
parent555cd7d33e5e2a9c457032ede67b6be3c62aeb92 (diff)
downloadscummvm-rg350-82c47d75cd524fa5a02cd1aed063fc1566e815c2.tar.gz
scummvm-rg350-82c47d75cd524fa5a02cd1aed063fc1566e815c2.tar.bz2
scummvm-rg350-82c47d75cd524fa5a02cd1aed063fc1566e815c2.zip
HDB: Fix the check for no free sound handle
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/sound.cpp b/engines/hdb/sound.cpp
index f9d8e5f3bc..ed03f7a7a2 100644
--- a/engines/hdb/sound.cpp
+++ b/engines/hdb/sound.cpp
@@ -1504,7 +1504,7 @@ void Sound::playSound(int index) {
_soundCache[index].loaded = SNDMEM_LOADED;
}
- int soundChannel = 0;
+ int soundChannel = kLaserChannel;
// Select Free Audio Handle
for (int i = 0; i < kLaserChannel; i++) {