diff options
author | Travis Howell | 2004-08-14 10:38:34 +0000 |
---|---|---|
committer | Travis Howell | 2004-08-14 10:38:34 +0000 |
commit | acc51d2e29ce2664ca44072dd584e5ee455fa6fd (patch) | |
tree | 452cff6d36e9d94a5fe71c999f4fed156e5a6fc7 /scumm/verbs.cpp | |
parent | d62ff5dca7b9bb7009d4edc91c2e3f31863ecb7d (diff) | |
download | scummvm-rg350-acc51d2e29ce2664ca44072dd584e5ee455fa6fd.tar.gz scummvm-rg350-acc51d2e29ce2664ca44072dd584e5ee455fa6fd.tar.bz2 scummvm-rg350-acc51d2e29ce2664ca44072dd584e5ee455fa6fd.zip |
Fix verbs on computer terminals in FT
svn-id: r14604
Diffstat (limited to 'scumm/verbs.cpp')
-rw-r--r-- | scumm/verbs.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scumm/verbs.cpp b/scumm/verbs.cpp index 8a1e0ddb46..18654ebdc8 100644 --- a/scumm/verbs.cpp +++ b/scumm/verbs.cpp @@ -265,7 +265,7 @@ void ScummEngine::redrawVerbs() { return; int i, verb = 0; - if (_version >= 7 || _cursor.state > 0) + if (_cursor.state > 0) verb = checkMouseOver(_mouse.x, _mouse.y); for (i = 0; i < _numVerbs; i++) { @@ -413,7 +413,7 @@ void ScummEngine::drawVerb(int verb, int mode) { vs->curRect.bottom = _charset->_str.bottom; vs->oldRect = _charset->_str; _charset->_str.left = _charset->_str.right; - } else { + } else if (_version < 7) { restoreVerbBG(verb); } } @@ -424,7 +424,9 @@ void ScummEngine::restoreVerbBG(int verb) { vs = &_verbs[verb]; - if (vs->oldRect.left != -1) { + if (_version >= 7) { + restoreBG(vs->curRect, vs->bkcolor); + } else if (vs->oldRect.left != -1) { restoreBG(vs->oldRect, vs->bkcolor); vs->oldRect.left = -1; } |