Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#9963 - Superdom: objects belong to the player even after beeing defeated

Attached to Project: Rockbox
Opened by Jan (dumbo20) - Friday, 27 February 2009, 19:49 GMT+2
Last edited by Andrew Mahone (Unhelpful) - Saturday, 16 May 2009, 10:23 GMT+2
Task Type Bugs
Category Games
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

In Superdom weapons (planes, tanks and men), farms and factories, that already were defeated by the computer and don't show up at the map anymore, still seem to belong to the player (according to the inventorx) and still produce money and food or, in case of men, still consume food.

I have a Sansa e250, r20112, but I suppose, this bug is model independent.
This task depends upon

Closed by  Andrew Mahone (Unhelpful)
Saturday, 16 May 2009, 10:23 GMT+2
Reason for closing:  Fixed
Additional comments about closing:  Fixed in r20959.
Comment by Jan (dumbo20) - Friday, 27 February 2009, 20:33 GMT+2
Also farms or factories, that the player takes over from computer, don't belong to the player in inventory screen (and supposedly aren't considered in the calculation for gained money and food)
Comment by Teruaki Kawashima (teru) - Wednesday, 04 March 2009, 06:47 GMT+2
here is a patch for this issue.
this adds new function named attack_territory that calculates the result of the attack and updates resources propery.
   superdom_fix_attack.patch (10 KiB)
 apps/plugins/superdom.c |  181 ++++++++++++++++--------------------------------
 1 file changed, 64 insertions(+), 117 deletions(-)

Comment by Hilton Shumway (HIllshum) - Monday, 11 May 2009, 18:39 GMT+2
This is fixed by  FS#9971 

Loading...