diff options
author | Kirben | 2014-03-01 20:11:40 +1100 |
---|---|---|
committer | Kirben | 2014-03-01 20:11:40 +1100 |
commit | afd21ac388e157238515b58f93f67aa9d4f3ac7c (patch) | |
tree | 0b4522142d15f4b70c79a684ccc238026f9c6695 | |
parent | 558887c1f10db77a5e32f605b28f4e2f7804c864 (diff) | |
download | scummvm-rg350-afd21ac388e157238515b58f93f67aa9d4f3ac7c.tar.gz scummvm-rg350-afd21ac388e157238515b58f93f67aa9d4f3ac7c.tar.bz2 scummvm-rg350-afd21ac388e157238515b58f93f67aa9d4f3ac7c.zip |
AGOS: Enable verb display in Simon the Sorcerer 2.
-rw-r--r-- | engines/agos/verb.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/agos/verb.cpp b/engines/agos/verb.cpp index 31e3211304..45dbfd0840 100644 --- a/engines/agos/verb.cpp +++ b/engines/agos/verb.cpp @@ -216,7 +216,14 @@ void AGOSEngine_Simon2::clearName() { return; } - AGOSEngine_Simon1::clearName(); + if (_currentVerbBox == _lastVerbOn) + return; + + resetNameWindow(); + _lastVerbOn = _currentVerbBox; + + if (_currentVerbBox != NULL && !(_currentVerbBox->flags & kBFBoxDead)) + printVerbOf(_currentVerbBox->id); } void AGOSEngine_Simon1::clearName() { |