aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorGregory Montoir2009-07-18 21:26:44 +0000
committerGregory Montoir2009-07-18 21:26:44 +0000
commitd362ca86f6fbb4c4f12485ed3ef013713709bd9a (patch)
tree481d26264fce1673757825641d13c76175fbd37c /engines/scumm
parent48e065a0ad46613e276312e1f074068f95a05644 (diff)
downloadscummvm-rg350-d362ca86f6fbb4c4f12485ed3ef013713709bd9a.tar.gz
scummvm-rg350-d362ca86f6fbb4c4f12485ed3ef013713709bd9a.tar.bz2
scummvm-rg350-d362ca86f6fbb4c4f12485ed3ef013713709bd9a.zip
add "-IQ" suffix test to SO_LOAD_STRING (same as SO_SAVE_STRING) ; fixes french version of atlantis
svn-id: r42596
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/script_v5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/script_v5.cpp b/engines/scumm/script_v5.cpp
index 00dec269bd..f83e7f2879 100644
--- a/engines/scumm/script_v5.cpp
+++ b/engines/scumm/script_v5.cpp
@@ -1785,7 +1785,7 @@ void ScummEngine_v5::o5_roomOps() {
while ((chr = fetchScriptByte()))
filename += chr;
- if (filename.hasPrefix("iq-") || filename.hasPrefix("IQ-") || filename.hasSuffix("-iq")) {
+ if (filename.hasPrefix("iq-") || filename.hasPrefix("IQ-") || filename.hasSuffix("-iq") || filename.hasSuffix("-IQ")) {
filename = _targetName + ".iq";
} else {
error("SO_LOAD_STRING: Unsupported filename %s", filename.c_str());