Merge lp:~widelands-dev/widelands/bug-978138 into lp:widelands
Proposed by
TiborB
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 7451 | ||||
Proposed branch: | lp:~widelands-dev/widelands/bug-978138 | ||||
Merge into: | lp:widelands | ||||
Diff against target: |
45 lines (+27/-2) 1 file modified
src/logic/production_program.cc (+27/-2) |
||||
To merge this branch: | bzr merge lp:~widelands-dev/widelands/bug-978138 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
Review via email: mp+257005@code.launchpad.net |
Description of the change
This is relatively simple fix. For every possible field where a ship could be built the game counts immovables within radius 2 and picks the spot with lowest count of immovables. Up to now the game flatly used first spot (though order of spots were quasi random)
To post a comment you must log in.
LGTM :)