#9238 closed patch (outdated)
MMC64: use stamps with envelope
| Reported by: | SF/tobigun | Owned by: | Kirben |
|---|---|---|---|
| Priority: | normal | Component: | Engine: SCUMM |
| Version: | Keywords: | ||
| Cc: | Game: | Maniac Mansion |
Description
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.
Attachments (1)
Change History (4)
by , 15 years ago
| Attachment: | stamp.patch added |
|---|
comment:1 by , 14 years ago
| Owner: | set to |
|---|---|
| Resolution: | → outdated |
| Status: | new → closed |
comment:2 by , 14 years ago
comment:3 by , 7 years ago
| Component: | → Engine: SCUMM |
|---|---|
| Game: | → Maniac Mansion |

After speaking with kirben, I'm closing this one as outdated, as there have been major changes to the relevant code not long ago.