aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 394745f418..9d3b80cfc8 100644
--- a/engines/hdb/sound.cpp
+++ b/engines/hdb/sound.cpp
@@ -1430,7 +1430,7 @@ bool Sound::init() {
_soundCache[index2].loaded = false;
_soundCache[index2].name = soundList[index].name;
_soundCache[index2].luaName = soundList[index].luaName;
- if (index2 <= SND_UNLOCKED_ITEM || index == SND_BEEPBEEPBEEP)
+ if (!scumm_stricmp(_soundCache[index2].name, ".wav"))
_soundCache[index2].ext = -1; // WAV
else
_soundCache[index2].ext = 1; // MP3