The attack dialog is not updating the number of possible attackers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
When clicking on an enemy building, the attack dialog appears, listing the number of possible attackers.
If you have a military building (within range) which have been recently constructed and is filling up with soldiers, this number will not increase as the building is filled up with more soldiers.
However, if you close the attack dialog and click on the enemy building again, the number of possible attackers have increased to include the new soldiers.
I am aware that the number will adjust itself if I click on one of the buttons or move the slider. However this does not work if the initial number of possible attackers is zero. (Say you have sent all your troops to conquer one building and then clicked on another building in order to be ready to attack that next). Therefore, it would be nice if the attack dialog could automatically recalculate the number of possible attackers.
Version bzr rev 5556 on Ubuntu 10.04
Related branches
- SirVer: Approve
-
Diff: 409 lines (+95/-82)5 files modifiedsrc/ui_basic/slider.cc (+11/-7)
src/ui_basic/slider.h (+1/-1)
src/wui/attack_box.cc (+63/-58)
src/wui/attack_box.h (+17/-13)
src/wui/building_statistics_menu.cc (+3/-3)
Changed in widelands: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
Changed in widelands: | |
status: | Expired → Confirmed |
Changed in widelands: | |
status: | Confirmed → In Progress |
assignee: | nobody → GunChleoc (gunchleoc) |
milestone: | none → build19-rc1 |
Changed in widelands: | |
status: | In Progress → Fix Committed |
Changed in widelands: | |
assignee: | GunChleoc (gunchleoc) → nobody |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
Setting to incomplete for bug sweeping.