aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/control.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2012-10-06 16:21:48 +0200
committerTorbjörn Andersson2012-10-06 16:24:00 +0200
commite8ad4df1fa93de65a7ed40c7e32a4b428e4fe7fa (patch)
treef8b9ca3ccf796a0bb113fb715ee63227e0c9fee3 /engines/sword1/control.cpp
parente38d4f20e8251937fd582e1ebb17568144a41e92 (diff)
downloadscummvm-rg350-e8ad4df1fa93de65a7ed40c7e32a4b428e4fe7fa.tar.gz
scummvm-rg350-e8ad4df1fa93de65a7ed40c7e32a4b428e4fe7fa.tar.bz2
scummvm-rg350-e8ad4df1fa93de65a7ed40c7e32a4b428e4fe7fa.zip
SWORD1: Enable American ("Circle of Blood") panel
If the language is explicitly set to American English, use the American version of the panel for the main control panel. In all other aspects, American English will behave as British English, so it shouldn't break anything.
Diffstat (limited to 'engines/sword1/control.cpp')
-rw-r--r--engines/sword1/control.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sword1/control.cpp b/engines/sword1/control.cpp
index 6e395116f9..7cd85dff54 100644
--- a/engines/sword1/control.cpp
+++ b/engines/sword1/control.cpp
@@ -541,7 +541,9 @@ void Control::setupMainPanel() {
if (SwordEngine::_systemVars.controlPanelMode == CP_DEATHSCREEN)
panelId = SR_DEATHPANEL;
else {
- if (SwordEngine::_systemVars.language <= BS1_SPANISH)
+ if (SwordEngine::_systemVars.realLanguage == Common::EN_USA)
+ panelId = SR_PANEL_AMERICAN;
+ else if (SwordEngine::_systemVars.language <= BS1_SPANISH)
panelId = SR_PANEL_ENGLISH + SwordEngine::_systemVars.language;
else
panelId = SR_PANEL_ENGLISH;