aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script_hof.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2008-05-24 18:31:16 +0000
committerFlorian Kagerer2008-05-24 18:31:16 +0000
commit5968d62d3449026737724c9a00c0360724b0016b (patch)
treee674afb1f49fc3454798f64c57f9fd59e441b809 /engines/kyra/script_hof.cpp
parent4641f3fe7b11b25ad8dca6fc2ea68f8b72db9dae (diff)
downloadscummvm-rg350-5968d62d3449026737724c9a00c0360724b0016b.tar.gz
scummvm-rg350-5968d62d3449026737724c9a00c0360724b0016b.tar.bz2
scummvm-rg350-5968d62d3449026737724c9a00c0360724b0016b.zip
cleanup
svn-id: r32253
Diffstat (limited to 'engines/kyra/script_hof.cpp')
-rw-r--r--engines/kyra/script_hof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/script_hof.cpp b/engines/kyra/script_hof.cpp
index b16e534e72..ef50cc8dfd 100644
--- a/engines/kyra/script_hof.cpp
+++ b/engines/kyra/script_hof.cpp
@@ -800,7 +800,7 @@ int KyraEngine_HoF::o2_showLetter(EMCState *script) {
_screen->fadeToBlack(0x14);
sprintf(filename, "LETTER%.1d.", letter);
- strcat(filename, _languageExtension[(_flags.platform == Common::kPlatformPC && (_flags.isTalkie || _lang)) ? _lang : 4]);
+ strcat(filename, (_flags.isTalkie || _flags.platform == Common::kPlatformFMTowns || _lang) ? _languageExtension[_lang] : "TXT");
uint8 *letterBuffer = _res->fileData(filename, 0);
if (letterBuffer) {