diff options
author | Willem Jan Palenstijn | 2009-07-13 14:46:14 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-07-13 14:46:14 +0000 |
commit | 4ea74d7e04012abea7f2dd2c8f729ecdfbd163cf (patch) | |
tree | daad41dbcc4939892e58052fd2c122ac159686c5 /engines | |
parent | 01624bbb28a96376701c8afcfcb7fb651ac2d8bd (diff) | |
download | scummvm-rg350-4ea74d7e04012abea7f2dd2c8f729ecdfbd163cf.tar.gz scummvm-rg350-4ea74d7e04012abea7f2dd2c8f729ecdfbd163cf.tar.bz2 scummvm-rg350-4ea74d7e04012abea7f2dd2c8f729ecdfbd163cf.zip |
Add one more type of IQ-points filename (for bug #2820803)
svn-id: r42436
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/script_v5.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/script_v5.cpp b/engines/scumm/script_v5.cpp index 00d01143d6..1ce38fd800 100644 --- a/engines/scumm/script_v5.cpp +++ b/engines/scumm/script_v5.cpp @@ -1750,7 +1750,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_SAVE_STRING: Unsupported filename %s", filename.c_str()); |