diff options
author | Travis Howell | 2005-10-26 00:36:23 +0000 |
---|---|---|
committer | Travis Howell | 2005-10-26 00:36:23 +0000 |
commit | ddfa034c106d0e00556d78380415ac6c0237c202 (patch) | |
tree | 10b8c600434c195ae1fe6abb06d2df5955eb6e53 | |
parent | b8b130b5a9be4d2dd19082c11d98c1ad806eb6ac (diff) | |
download | scummvm-rg350-ddfa034c106d0e00556d78380415ac6c0237c202.tar.gz scummvm-rg350-ddfa034c106d0e00556d78380415ac6c0237c202.tar.bz2 scummvm-rg350-ddfa034c106d0e00556d78380415ac6c0237c202.zip |
Match subtitle speed keys in original SCUMM games.
svn-id: r19286
-rw-r--r-- | scumm/input.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/input.cpp b/scumm/input.cpp index 7c499fec0d..f296f131c1 100644 --- a/scumm/input.cpp +++ b/scumm/input.cpp @@ -452,13 +452,13 @@ void ScummEngine::processKbd(bool smushMode) { ConfMan.set("music_volume", vol); setupVolumes(); } else if (_lastKeyHit == '-' || _lastKeyHit == '+') { // Change text speed - if (_lastKeyHit == '+' && _defaultTalkDelay < 9) - _defaultTalkDelay++; - else if (_lastKeyHit == '-' && _defaultTalkDelay > 0) + if (_lastKeyHit == '+' && _defaultTalkDelay > 0) _defaultTalkDelay--; + else if (_lastKeyHit == '-' && _defaultTalkDelay < 9) + _defaultTalkDelay++; // Display the talk speed - ValueDisplayDialog dlg("Talk speed: ", 0, 9, _defaultTalkDelay, '+', '-'); + ValueDisplayDialog dlg("Talk delay: ", 0, 9, _defaultTalkDelay, '+', '-'); _defaultTalkDelay = runDialog(dlg); if (VAR_CHARINC != 0xFF) |