diff options
author | Filippos Karapetis | 2011-10-29 18:28:37 +0300 |
---|---|---|
committer | Filippos Karapetis | 2011-10-29 18:32:50 +0300 |
commit | c4b2cd057a78b56a6ad554b796e4574567b0ca18 (patch) | |
tree | 065066f120f957418457c4ec3b8426c0ceffbb2f /engines | |
parent | 042d3ddf8566ff0738e81470203e9b3ee7a6d598 (diff) | |
download | scummvm-rg350-c4b2cd057a78b56a6ad554b796e4574567b0ca18.tar.gz scummvm-rg350-c4b2cd057a78b56a6ad554b796e4574567b0ca18.tar.bz2 scummvm-rg350-c4b2cd057a78b56a6ad554b796e4574567b0ca18.zip |
SCI: Fixed speech in PQ4 CD
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/resource.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index c50d1b8d8a..9171e5e5d9 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -169,8 +169,11 @@ ResourceType ResourceManager::convertResType(byte type) { if (type < ARRAYSIZE(s_resTypeMapSci21)) { // LSL6 hires doesn't have the chunk resource type, to match // the resource types of the lowres version, thus we use the - // older resource types here - if (g_sci && g_sci->getGameId() == GID_LSL6HIRES) + // older resource types here. + // PQ4 CD and QFG4 CD are SCI2.1, but use the resource types of the + // corresponding SCI2 floppy disk versions. + if (g_sci && (g_sci->getGameId() == GID_LSL6HIRES || + g_sci->getGameId() == GID_QFG4 || g_sci->getGameId() == GID_PQ4)) return s_resTypeMapSci0[type]; else return s_resTypeMapSci21[type]; |