Fixed black lines on distaff in Loom
|Reported by:||(none)||Owned by:||SF/ender|
After several hours of looking through and debugging scummvm (and having learned a lot about how it works), I found the problem that causes black lines on the distaff when you play notes in Loom.
The right and bottom boundaries of verbs need to be 1 pixel smaller than their width and height, for example a 16X16 square should draw on pixels 0-15 instead of 0- 16 as it does with the current code.
in verbs.cpp, line 241 change: vst->right = vst->x + imgw * 8; vst->bottom = vst->y + imgh * 8;
vst->right = vst->x + imgw * 8 - 1; vst->bottom = vst->y + imgh * 8 - 1;
This might also fix/break things in other games, but I didn't see any problems after trying MI1 and 2.
PS - I'll be doing more bug hunting later, should I submit new fixes in the bugs or patches section?
Ticket imported from: #556154. Ticket imported from: bugs/260.