From 82c47d75cd524fa5a02cd1aed063fc1566e815c2 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Fri, 6 Sep 2019 22:28:37 +0200 Subject: HDB: Fix the check for no free sound handle --- engines/hdb/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- cgit v1.2.3