aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource.cpp
diff options
context:
space:
mode:
authorTravis Howell2002-09-22 03:58:53 +0000
committerTravis Howell2002-09-22 03:58:53 +0000
commitc0855df3820662a91aab184ff15d50c371b4c208 (patch)
treec313b8bb1dd786485228030ce1d8d85cd2de2bd1 /scumm/resource.cpp
parent5d72701c06df605f9186735adc4df3e025e48668 (diff)
downloadscummvm-rg350-c0855df3820662a91aab184ff15d50c371b4c208.tar.gz
scummvm-rg350-c0855df3820662a91aab184ff15d50c371b4c208.tar.bz2
scummvm-rg350-c0855df3820662a91aab184ff15d50c371b4c208.zip
Add hack from trin to make zak256 sfx/music work again.
Add Makefile changes to Makefile.mingw svn-id: r5000
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r--scumm/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 69b9b9e257..d81fe3e315 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -530,7 +530,7 @@ int Scumm::loadResource(int type, int idx)
size = _fileHandle.readDwordLE();
tag = _fileHandle.readWordLE();
_fileHandle.seek(-6, SEEK_CUR);
- if (type == rtSound)
+ if ((type == rtSound) && (_gameId != GID_ZAK256))
return readSoundResourceSmallHeader(type, idx);
} else {
if (type == rtSound) {