This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5077 - wormlet runs out of food
Attached to Project:
Rockbox
Opened by Ewan Davies (drspoon) - Sunday, 09 April 2006, 18:31 GMT+2
Last edited by Dave Chapman (linuxstb) - Saturday, 20 May 2006, 10:50 GMT+2
Opened by Ewan Davies (drspoon) - Sunday, 09 April 2006, 18:31 GMT+2
Last edited by Dave Chapman (linuxstb) - Saturday, 20 May 2006, 10:50 GMT+2
|
DetailsWhen playing the wormlet game sometimes eating food does not force creation of new food, thus food runs out. The game also starts with varying amounts of food. The non-creation of food might be something to do with eating food when already growing, though I couldn't find a way of reproducing the bug every time.
|
This task depends upon
Closed by Zakk Roberts (midkay)
Monday, 22 May 2006, 09:00 GMT+2
Reason for closing: Accepted
Additional comments about closing: Just committed this. Thanks for the report+patch. :)
Monday, 22 May 2006, 09:00 GMT+2
Reason for closing: Accepted
Additional comments about closing: Just committed this. Thanks for the report+patch. :)
foodx, foody, arghx and arghy are chars - and in init_wormlet the food and arghs are not always created
make_food and make_argh return ints, but aren't used in assignment anywhere.
I've included a so far as I can see working version but the debug code is a quick hack and still in. I'll clean it up for tomorrow
Thanks. :)