Merge lp:~widelands-dev/widelands/bug-1518223 into lp:widelands
Proposed by
TiborB
Status: | Merged |
---|---|
Merged at revision: | 7639 |
Proposed branch: | lp:~widelands-dev/widelands/bug-1518223 |
Merge into: | lp:widelands |
Diff against target: |
75 lines (+38/-14) 1 file modified
src/logic/productionsite.cc (+38/-14) |
To merge this branch: | bzr merge lp:~widelands-dev/widelands/bug-1518223 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
Review via email:
|
Description of the change
I found that has_workers function in productionsite.cc is badly broken. It is used only by AI to find out if current building to be upgraded has enough experienced workers for upgraded building. It used to return almost random results before...
To post a comment you must log in.
Added some diff comments.