diff options
Diffstat (limited to 'sword1')
-rw-r--r-- | sword1/logic.cpp | 3 | ||||
-rw-r--r-- | sword1/sound.cpp | 3 | ||||
-rw-r--r-- | sword1/sword1.cpp | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/sword1/logic.cpp b/sword1/logic.cpp index cc89d5a797..33c6b5742b 100644 --- a/sword1/logic.cpp +++ b/sword1/logic.cpp @@ -64,7 +64,8 @@ void SwordLogic::initialize(void) { _eventMan = new EventManager(); delete _textMan; - _textMan = new SwordText(_objMan, _resMan, false); + _textMan = new SwordText(_objMan, _resMan, + (SwordEngine::_systemVars.language == BS1_CZECH) ? true : false); _screen->useTextManager(_textMan); _textRunning = _speechRunning = false; _speechFinished = true; diff --git a/sword1/sound.cpp b/sword1/sound.cpp index e9cb523b5a..0751d6cb70 100644 --- a/sword1/sound.cpp +++ b/sword1/sound.cpp @@ -257,8 +257,7 @@ void SwordSound::initCowSystem(void) { sprintf(cowName, "SPEECH%d.CLU", SwordEngine::_systemVars.currentCD); _cowFile.open(cowName); if (!_cowFile.isOpen()) { - sprintf(cowName, "SPEECH.CLU"); - _cowFile.open(cowName); + _cowFile.open("speech.clu"); } if (_cowFile.isOpen()) { _cowHeaderSize = _cowFile.readUint32LE(); diff --git a/sword1/sword1.cpp b/sword1/sword1.cpp index f220f2c4f8..5895d27a79 100644 --- a/sword1/sword1.cpp +++ b/sword1/sword1.cpp @@ -136,7 +136,9 @@ void SwordEngine::initialize(void) { case Common::PT_BRA: _systemVars.language = BS1_PORT; break; - // TODO add czech option + case Common::CZ_CZE: + _systemVars.language = BS1_CZECH; + break; default: _systemVars.language = BS1_ENGLISH; } |