diff options
Diffstat (limited to 'engines/scumm/script_v0.cpp')
-rw-r--r-- | engines/scumm/script_v0.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/scumm/script_v0.cpp b/engines/scumm/script_v0.cpp index e2d3f40e8e..71dfbc6a82 100644 --- a/engines/scumm/script_v0.cpp +++ b/engines/scumm/script_v0.cpp @@ -979,7 +979,15 @@ void ScummEngine_v0::o_setOwnerOf() { owner = getVarOrDirectByte(PARAM_2); if (obj == 0) - obj = _activeInventory; + obj = _activeObject; + + // FIXME: the original interpreter seems to set the owner of + // an item to remove (new owner 0) to 13 (purple tentacle). + // Ignore this behavior for now. + /* + if (owner == 0) + owner = 13; + */ setOwnerOf(obj, owner); } |