aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/resource_v7he.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/scumm/resource_v7he.cpp b/scumm/resource_v7he.cpp
index 931ca67266..49e6080be9 100644
--- a/scumm/resource_v7he.cpp
+++ b/scumm/resource_v7he.cpp
@@ -1779,12 +1779,7 @@ int ScummEngine_v72he::getSoundResourceSize(int id) {
error("getSoundResourceSize: Not a valid WAV file");
}
} else {
- if (READ_UINT32(ptr) == MKID('HSHD')) {
- ptr += READ_BE_UINT32(ptr + 4);
- } else {
- ptr += 8 + READ_BE_UINT32(ptr + 12);
- }
-
+ ptr += 8 + READ_BE_UINT32(ptr + 12);
if (READ_UINT32(ptr) == MKID('SBNG')) {
ptr += READ_BE_UINT32(ptr + 4);
}