Merge lp:~majcherlk/widelands/seafaring-check into lp:widelands
Proposed by
Lukasz
Status: | Merged |
---|---|
Merged at revision: | 7490 |
Proposed branch: | lp:~majcherlk/widelands/seafaring-check |
Merge into: | lp:widelands |
Diff against target: |
124 lines (+70/-1) 3 files modified
src/editor/ui_menus/editor_main_menu_save_map.cc (+7/-0) src/logic/map.cc (+60/-0) src/logic/map.h (+3/-1) |
To merge this branch: | bzr merge lp:~majcherlk/widelands/seafaring-check |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
Review via email: mp+263192@code.launchpad.net |
Description of the change
Now according to suggestion #1449420 seafaring tag is calculated automatically (tag is set only when map has at least 2 port spaces) and I have question: I was trying to remove seafaring checkbox but I couldn't find it in code, it exists?
To post a comment you must log in.
I changed a way of testing whether the map is seafaring (two port spaces constraint is not enough strong - we can have two port spaces incident to two different water tanks and a seafaring is still impossible). Now tag is set when there are at least two port spaces that are reachable to each other.