CMI: Fix for inventory bug
|Reported by:||eriktorbjorn||Owned by:||fingolfin|
|Game:||Monkey Island 3|
I patch seems to fix the inventory bug mentioned on the CMI issues page, where the game gets confused about which is the last object in the inventory chest. The problem happens because the findBlastObject() opcode returns the wrong object number, which I believe is because the loop starts at one object past the end of the blast object queue.
(I have a savegame that demonstrates this, but since it's a bit large I'm not attaching it unless someone asks me to.)
Ticket imported from: #708384. Ticket imported from: patches/295.