diff options
author | Max Horn | 2010-02-13 17:46:44 +0000 |
---|---|---|
committer | Max Horn | 2010-02-13 17:46:44 +0000 |
commit | b9a11ddb0b69910418d0ccc8cf303a2e2a181f3a (patch) | |
tree | 277ec4eb1546916c8695f47e9bafb357916247bb /engines/sci/engine/kfile.cpp | |
parent | 06021f79acfb32677e68b8697d5ba63059a6893d (diff) | |
download | scummvm-rg350-b9a11ddb0b69910418d0ccc8cf303a2e2a181f3a.tar.gz scummvm-rg350-b9a11ddb0b69910418d0ccc8cf303a2e2a181f3a.tar.bz2 scummvm-rg350-b9a11ddb0b69910418d0ccc8cf303a2e2a181f3a.zip |
SCI: Move language related code from EngineState to SciEngine
svn-id: r48052
Diffstat (limited to 'engines/sci/engine/kfile.cpp')
-rw-r--r-- | engines/sci/engine/kfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp index d6c95bda87..e54aaee051 100644 --- a/engines/sci/engine/kfile.cpp +++ b/engines/sci/engine/kfile.cpp @@ -104,7 +104,7 @@ void file_open(EngineState *s, const char *filename, int mode) { if (filename[0] == '/' && filename[1] == '\\') filename += 2; - Common::String englishName = s->getLanguageString(filename, K_LANG_ENGLISH); + Common::String englishName = g_sci->getSciLanguageString(filename, K_LANG_ENGLISH); const Common::String wrappedName = g_sci->wrapFilename(englishName); Common::SeekableReadStream *inFile = 0; Common::WriteStream *outFile = 0; |