From 7d409dd15f13f517c083e58d0e5c59ec0776c974 Mon Sep 17 00:00:00 2001 From: Tobias Gunkel Date: Sat, 28 Jan 2012 21:32:41 +0100 Subject: SCUMM: in v0 do not allow an inventory item as 2nd object of a give-to command --- engines/scumm/verbs.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engines/scumm/verbs.cpp b/engines/scumm/verbs.cpp index 7a099adae9..4347ad9db9 100644 --- a/engines/scumm/verbs.cpp +++ b/engines/scumm/verbs.cpp @@ -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 -- cgit v1.2.3