aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;