Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Games
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by AsaelReiter - 2009-09-06
Last edited by kugel. - 2009-09-17

FS#10589 - Wormlet: food can collide with arghs.

When 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).

   wl.diff (1.7 KiB)
Closed by  kugel.
2009-09-17 21:08
Reason for closing:  Fixed
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

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.

This bug may happen also when a arch is created (if argh_size-food_size>=2).
I think that the attached file fixes it.

   wl.diff (3.9 KiB)

As Kugel suggested, I wrote a macro to make it more simple.

   wl.diff (3.9 KiB)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing