From 6b962cda4e97158a7eeeafd399e042feeb7f7053 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 29 Apr 2009 05:41:44 +0000 Subject: Add support for unpacked data files, in the PC version of PN. svn-id: r40192 --- engines/agos/res_snd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/agos/res_snd.cpp') diff --git a/engines/agos/res_snd.cpp b/engines/agos/res_snd.cpp index 27c669b1e2..60c79b2324 100644 --- a/engines/agos/res_snd.cpp +++ b/engines/agos/res_snd.cpp @@ -390,7 +390,7 @@ bool AGOSEngine::loadVGASoundFile(uint16 id, uint8 type) { } dstSize = srcSize = in.size(); - if (getGameType() == GType_PN) { + if (getGameType() == GType_PN && (getFeatures() & GF_CRUNCHED)) { Common::Stack data; byte *dataOut = 0; int dataOutSize = 0; -- cgit v1.2.3