aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/settings.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-01 18:34:51 -1000
committerPaul Gilbert2015-05-01 18:34:51 -1000
commit86dab70eae4791b84ca3891cad7db70a9683679a (patch)
treef21504b082dfa932857853220990b6ab41174908 /engines/sherlock/settings.cpp
parenta2ef3e240225940308c54243589014c922c38274 (diff)
downloadscummvm-rg350-86dab70eae4791b84ca3891cad7db70a9683679a.tar.gz
scummvm-rg350-86dab70eae4791b84ca3891cad7db70a9683679a.tar.bz2
scummvm-rg350-86dab70eae4791b84ca3891cad7db70a9683679a.zip
SHERLOCK: Remove unused key pad speed field
Diffstat (limited to 'engines/sherlock/settings.cpp')
-rw-r--r--engines/sherlock/settings.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/sherlock/settings.cpp b/engines/sherlock/settings.cpp
index fb7730fc1d..769c2c82e3 100644
--- a/engines/sherlock/settings.cpp
+++ b/engines/sherlock/settings.cpp
@@ -115,10 +115,11 @@ void Settings::drawInteface(bool flag) {
tempStr = Common::String::format("Portraits %s", SETUP_STRS0[people._portraitsOn]);
screen.makeButton(Common::Rect(SETUP_POINTS[10][0], SETUP_POINTS[10][1], SETUP_POINTS[10][2], SETUP_POINTS[10][1] + 10),
SETUP_POINTS[10][3] - screen.stringWidth(tempStr) / 2, tempStr);
- tempStr = Common::String::format("Key Pad %s", _vm->_keyPadSpeed ? "Fast" : "Slow");
+ tempStr = "Key Pad Slow";
screen.makeButton(Common::Rect(SETUP_POINTS[11][0], SETUP_POINTS[11][1], SETUP_POINTS[11][2], SETUP_POINTS[11][1] + 10),
SETUP_POINTS[11][3] - screen.stringWidth(tempStr) / 2, tempStr);
+ screen.buttonPrint(Common::Point(SETUP_POINTS[11][3], SETUP_POINTS[11][1]), COMMAND_NULL, false, tempStr);
// Show the window immediately, or slide it on-screen
if (!flag) {
@@ -196,8 +197,8 @@ int Settings::drawButtons(const Common::Point &pt, int _key) {
screen.buttonPrint(Common::Point(SETUP_POINTS[idx][3], SETUP_POINTS[idx][1]), color, true, tempStr);
break;
case 11:
- tempStr = Common::String::format("Key Pad %s", SETUP_STRS4[_vm->_keyPadSpeed]);
- screen.buttonPrint(Common::Point(SETUP_POINTS[idx][3], SETUP_POINTS[idx][1]), color, true, tempStr);
+ tempStr = "Key Pad Slow";
+ screen.buttonPrint(Common::Point(SETUP_POINTS[idx][3], SETUP_POINTS[idx][1]), COMMAND_NULL, true, tempStr);
break;
default:
screen.buttonPrint(Common::Point(SETUP_POINTS[idx][3], SETUP_POINTS[idx][1]), color, true, SETUP_NAMES[idx]);