aboutsummaryrefslogtreecommitdiff
path: root/engines/sky
diff options
context:
space:
mode:
authorEugene Sandulenko2016-04-17 12:43:53 +0200
committerEugene Sandulenko2016-04-17 12:44:18 +0200
commit44a49dbec5d7a472edcd662b77c041baa22872a0 (patch)
tree637915b8160063a792244a57badb5d305e979a09 /engines/sky
parent4b4f9d95f17057623d3f3c966d168df60440ca27 (diff)
downloadscummvm-rg350-44a49dbec5d7a472edcd662b77c041baa22872a0.tar.gz
scummvm-rg350-44a49dbec5d7a472edcd662b77c041baa22872a0.tar.bz2
scummvm-rg350-44a49dbec5d7a472edcd662b77c041baa22872a0.zip
SKY: Proper support for Russian BASS
Diffstat (limited to 'engines/sky')
-rw-r--r--engines/sky/control.cpp9
-rw-r--r--engines/sky/sky.cpp3
2 files changed, 7 insertions, 5 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;
diff --git a/engines/sky/sky.cpp b/engines/sky/sky.cpp
index 710313b1a1..40b6959a9b 100644
--- a/engines/sky/sky.cpp
+++ b/engines/sky/sky.cpp
@@ -336,9 +336,6 @@ Common::Error SkyEngine::init() {
case Common::EN_GRB:
_systemVars.language = SKY_ENGLISH;
break;
- case Common::RU_RUS:
- _systemVars.language = SKY_RUSSIAN;
- break;
default:
_systemVars.language = SKY_ENGLISH;
break;