aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.mingw2
-rw-r--r--scumm/resource.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.mingw b/Makefile.mingw
index 0e32e39fb4..352bb1eed2 100644
--- a/Makefile.mingw
+++ b/Makefile.mingw
@@ -19,7 +19,7 @@ RM_REC = $(RM) -r
ZIP = zip -q
CP = cp
-CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar
+CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Werror
DEFINES =
LDFLAGS :=
INCLUDES:= -I. -Icommon -Iscumm $(SDL_CFLAGS)
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) {