aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2006-01-05 11:42:33 +0000
committerTravis Howell2006-01-05 11:42:33 +0000
commit56f1e7d6afa03959c40244385700393208db5c1b (patch)
tree047b7847f3c8f019aa792a683e19657757ff0126 /scumm
parent5e7ef4dea6f763b2ebfccfa23ff06f03b91fca49 (diff)
downloadscummvm-rg350-56f1e7d6afa03959c40244385700393208db5c1b.tar.gz
scummvm-rg350-56f1e7d6afa03959c40244385700393208db5c1b.tar.bz2
scummvm-rg350-56f1e7d6afa03959c40244385700393208db5c1b.zip
No longer required
svn-id: r19917
Diffstat (limited to 'scumm')
-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);
}