Training sites show misleading tooltip
Bug #1374738 reported by
wl-zocker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
A training site that has all wares and enough soldiers and therefore works at 100% shows a tooltip that wares are missing. Two examples:
- Barbarian training camp: Did not start upgrading soldier health from level 0 to level 1 because helm is missing.
- Barbarian battle arena: Did not start upgrading soldier evade from level 0 to level 1 because fish or meat is missing.
I would expect a tooltip like "Successfully trained soldier evade from level 0 to level 1". The other buildings also state their successes ("produced coal").
Related branches
lp:~widelands-dev/widelands/bugfix-buildings-tooltips
- Toni Förster: Approve (played)
- GunChleoc: Approve
-
Diff: 38 lines (+9/-1)2 files modifiedsrc/logic/map_objects/tribes/production_program.cc (+3/-0)
src/logic/map_objects/tribes/worker.cc (+6/-1)
Changed in widelands: | |
assignee: | nobody → hessenfarmer (stephan-lutz) |
Changed in widelands: | |
status: | New → In Progress |
Changed in widelands: | |
status: | In Progress → Fix Committed |
milestone: | none → build21-rc1 |
assignee: | hessenfarmer (stephan-lutz) → nobody |
To post a comment you must log in.
The training sites have more than one production program. They cycle through them, and there probably was a helm / food missing at the time. The site then went on to the next program, where the resources were available.