FBEAR: Invalid costume in "Mr. Veggie Head" mini-game
|Reported by:||eriktorbjorn||Owned by:||sev-|
|Cc:||Game:||Fatty Bear's Birthday Surprise|
Fatty Bear's Birthday Surprise (DOS version) Latest ScummVM CVS snapshot
The Mr. Veggie Head mini-game crashes repeatably to the debugger when clicking on some of the items to the left. The error message is "(4:212:0x78E4): costume 32799 undefined 253 1!". The actual number depends on which of the items you clicked on, of course.
I did notice that the costume number is actually a quite sensible 16-bit number, except that the most significant bit is set. At first, I thought that this had some sort of meaning, like "load a mirror version of this costume", but simply clearing the bit seems to work fine. I just don't dare to commit that change without discussing it with anyone.
Ticket imported from: #984258. Ticket imported from: bugs/1674.