diff options
author | Travis Howell | 2009-04-29 05:41:44 +0000 |
---|---|---|
committer | Travis Howell | 2009-04-29 05:41:44 +0000 |
commit | 6b962cda4e97158a7eeeafd399e042feeb7f7053 (patch) | |
tree | ca36e0976309b8083fca3581d8dda4ced1ea5de9 /engines/agos/res_snd.cpp | |
parent | 9a78f6ef41b30e28973551ebc9c19bbc1ac1d8dd (diff) | |
download | scummvm-rg350-6b962cda4e97158a7eeeafd399e042feeb7f7053.tar.gz scummvm-rg350-6b962cda4e97158a7eeeafd399e042feeb7f7053.tar.bz2 scummvm-rg350-6b962cda4e97158a7eeeafd399e042feeb7f7053.zip |
Add support for unpacked data files, in the PC version of PN.
svn-id: r40192
Diffstat (limited to 'engines/agos/res_snd.cpp')
-rw-r--r-- | engines/agos/res_snd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<uint32> data; byte *dataOut = 0; int dataOutSize = 0; |