aboutsummaryrefslogtreecommitdiff
path: root/scumm/scumm.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-07-14 08:55:31 +0000
committerTravis Howell2004-07-14 08:55:31 +0000
commitbe7ee03501025b0e8237ae0e719c7944d0924cc4 (patch)
treeb7ead3cb60da393b7dffd53d3daf3dfdb482efa8 /scumm/scumm.cpp
parente69d51e1ba11b875500838ddbc7e409a05b50360 (diff)
downloadscummvm-rg350-be7ee03501025b0e8237ae0e719c7944d0924cc4.tar.gz
scummvm-rg350-be7ee03501025b0e8237ae0e719c7944d0924cc4.tar.bz2
scummvm-rg350-be7ee03501025b0e8237ae0e719c7944d0924cc4.zip
Remove old FT hacks, no longer needed.
svn-id: r14211
Diffstat (limited to 'scumm/scumm.cpp')
-rw-r--r--scumm/scumm.cpp24
1 files changed, 6 insertions, 18 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 53ed63eef4..e183eb162c 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -1439,15 +1439,9 @@ int ScummEngine::scummLoop(int delta) {
decreaseScriptDelay(delta);
- // If _talkDelay is -1, that means the text should never time out.
- // This is used for drawing verb texts, e.g. the Full Throttle
- // dialogue choices.
-
- if (_talkDelay != -1) {
- _talkDelay -= delta;
- if (_talkDelay < 0)
- _talkDelay = 0;
- }
+ _talkDelay -= delta;
+ if (_talkDelay < 0)
+ _talkDelay = 0;
// Record the current ego actor before any scripts (including input scripts)
// get a chance to run.
@@ -2042,15 +2036,9 @@ void ScummEngine::processKbd(bool smushMode) {
runScript(VAR(VAR_SAVELOAD_SCRIPT2), 0, 0, 0);
return;
} else if (VAR_TALKSTOP_KEY != 0xFF && _lastKeyHit == VAR(VAR_TALKSTOP_KEY)) {
- // Some text never times out, and should never be skipped. The
- // Full Throttle conversation menus is the main - perhaps the
- // only - example of this.
-
- if (_talkDelay != -1) {
- _talkDelay = 0;
- if (_sound->_sfxMode & 2)
- stopTalk();
- }
+ _talkDelay = 0;
+ if (_sound->_sfxMode & 2)
+ stopTalk();
return;
} else if (_lastKeyHit == '[') { // [ Music volume down
int vol = ConfMan.getInt("music_volume");