MMC64: use stamps with envelope
|Reported by:||SF/tobigun||Owned by:||Kirben|
This patch addresses bug "MMC64: Bug while getting the stamps from the parcel - ID: 3072094".
Seems as if in ScummEngine_v0::o_setOwnerOf() should be _activeObject instead of _activeInventory. This patch fixes the problem but it still needs some testing as it might break other things.
The reverse command "use envelope in stamps" does not work yet as ScummEngine_v0::o_doSentence() does not handle the special objects 255 and 254 correctly in the call doSentence(11,255,254) performed by script-81 to swap the position of envelope and stamp in the sentence (resulting in "use stamps on envelope"). A warning "Code for object 255 not in room 7!" is caused by this. I guess that object 255 is activeObject2 and 254 is activeObject, so both will be swapped. But there are also calls to doSentence(1,254,255) (roomobj-1-18) which would result in an endless loop so its not that easy.
Ticket imported from: #3095595. Ticket imported from: patches/1343.