Skip to content

Commit

Permalink
SCI: Fixed speech in PQ4 CD
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Oct 29, 2011
1 parent 042d3dd commit c4b2cd0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions engines/sci/resource.cpp
Expand Up @@ -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];
Expand Down

0 comments on commit c4b2cd0

Please sign in to comment.