Skip to content

Commit

Permalink
SCUMM: in v0 do not allow an inventory item as 2nd object of a give-t…
Browse files Browse the repository at this point in the history
…o command
  • Loading branch information
tobigun committed Feb 11, 2012
1 parent 08e1e12 commit 7d409dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engines/scumm/verbs.cpp
Expand Up @@ -809,6 +809,9 @@ void ScummEngine_v0::checkExecVerbs() {
// inventory position changed (arrows pressed, do nothing)
return;
}
// the second object of a give-to command has to be an actor
if (_activeVerb == kVerbGive && _activeObject)
obj = 0;
// click region: main screen
} else if (zone->number == kMainVirtScreen) {
// click into main screen
Expand Down

0 comments on commit 7d409dd

Please sign in to comment.