Fix for #1690045: ITE: Item description missing
|Reported by:||bluegr||Owned by:||sev-|
|Game:||Inherit the Earth|
This is a fix for bug #1690045: "ITE: Item description missing / ScummVM crash".
It seems that the script associated with item 16419 (wooden bowl) in room 278 (passage) throws an error. In the next room, the object gets destroyed, but the player has the option of returning to the previous room, where the object is supposed to work again. Therefore, the object is not destroyed in this room. If the player tries to interact with the wooden bowl in the passage, ScummVM exits with error:
ObjectMap::getHitZone wrong index 0x5!
Which means that the object exists, but there's no (correct) action associated with it.
There are two ways to fix this: either correct the script itself for that room or disable interaction with that object in that specific room. I chose to do the latter one.
With this patch, any interaction with the wooden bowl in the passage is disabled. (I.e. any action done on the bowl in that screen is cancelled). The item is still in the player's inventory, so if they decide to return back to the previous screen, the item will function again. In the next screen (after the passage), the item is destroyed normally. This eliminates the crash related with this object in bug #1690045.
Ticket imported from: #1704979. Ticket imported from: patches/747.