mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 09:49:14 +00:00
SHERLOCK: RT: Fix showing verbs with * prefixed target actions
This commit is contained in:
parent
87956d6a10
commit
0b53820dd9
@ -91,7 +91,8 @@ void WidgetVerbs::load(bool objectsOn) {
|
||||
// Add any extra active verbs from the object's verb list
|
||||
for (int idx = 0; idx < 6; ++idx) {
|
||||
if (!ui._bgShape->_use[idx]._verb.empty() && !ui._bgShape->_use[idx]._verb.hasPrefix(" ") &&
|
||||
(ui._bgShape->_use[idx]._target.empty() || ui._bgShape->_use[idx]._target.hasPrefix(" "))) {
|
||||
(ui._bgShape->_use[idx]._target.empty() || ui._bgShape->_use[idx]._target.hasPrefix("*") ||
|
||||
ui._bgShape->_use[idx]._target.hasPrefix(" "))) {
|
||||
_verbCommands.push_back(ui._bgShape->_use[idx]._verb);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user