This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10589 - Wormlet: food can collide with arghs.
Attached to Project:
Rockbox
Opened by Asael Reiter (AsaelReiter) - Sunday, 06 September 2009, 12:23 GMT+2
Last edited by Thomas Martitz (kugel.) - Thursday, 17 September 2009, 23:08 GMT+2
Opened by Asael Reiter (AsaelReiter) - Sunday, 06 September 2009, 12:23 GMT+2
Last edited by Thomas Martitz (kugel.) - Thursday, 17 September 2009, 23:08 GMT+2
|
DetailsWhen a food is created, only his corners are been checked, so if food_size is greater than argh_size, the food can cover an entire argh.
The argh doesn't been removed - just invisible (even after that the food is eaten). |
This task depends upon
Closed by Thomas Martitz (kugel.)
Thursday, 17 September 2009, 23:08 GMT+2
Reason for closing: Fixed
Additional comments about closing: Accepted in r22724. Thank you very much.
Your check seems simpler and more correct than the current code. I'm wondering if each collision check should do it this way.
Thursday, 17 September 2009, 23:08 GMT+2
Reason for closing: Fixed
Additional comments about closing: Accepted in r22724. Thank you very much.
Your check seems simpler and more correct than the current code. I'm wondering if each collision check should do it this way.
I think that the attached file fixes it.