diff options
author | Eugene Sandulenko | 2016-04-17 12:43:53 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-04-17 12:44:18 +0200 |
commit | 44a49dbec5d7a472edcd662b77c041baa22872a0 (patch) | |
tree | 637915b8160063a792244a57badb5d305e979a09 /engines/sky/control.cpp | |
parent | 4b4f9d95f17057623d3f3c966d168df60440ca27 (diff) | |
download | scummvm-rg350-44a49dbec5d7a472edcd662b77c041baa22872a0.tar.gz scummvm-rg350-44a49dbec5d7a472edcd662b77c041baa22872a0.tar.bz2 scummvm-rg350-44a49dbec5d7a472edcd662b77c041baa22872a0.zip |
SKY: Proper support for Russian BASS
Diffstat (limited to 'engines/sky/control.cpp')
-rw-r--r-- | engines/sky/control.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/sky/control.cpp b/engines/sky/control.cpp index e79fa6e5e6..07be1c672f 100644 --- a/engines/sky/control.cpp +++ b/engines/sky/control.cpp @@ -1562,8 +1562,13 @@ void Control::showGameQuitMsg() { screenData = _skyScreen->giveCurrent(); - _skyText->displayText(_quitTexts[SkyEngine::_systemVars.language * 2 + 0], textBuf1, true, 320, 255); - _skyText->displayText(_quitTexts[SkyEngine::_systemVars.language * 2 + 1], textBuf2, true, 320, 255); + if (Common::parseLanguage(ConfMan.get("language")) == Common::RU_RUS) { + _skyText->displayText(_quitTexts[8 * 2 + 0], textBuf1, true, 320, 255); + _skyText->displayText(_quitTexts[8 * 2 + 1], textBuf2, true, 320, 255); + } else { + _skyText->displayText(_quitTexts[SkyEngine::_systemVars.language * 2 + 0], textBuf1, true, 320, 255); + _skyText->displayText(_quitTexts[SkyEngine::_systemVars.language * 2 + 1], textBuf2, true, 320, 255); + } uint8 *curLine1 = textBuf1 + sizeof(DataFileHeader); uint8 *curLine2 = textBuf2 + sizeof(DataFileHeader); uint8 *targetLine = screenData + GAME_SCREEN_WIDTH * 80; |