Port space icon not updated properly in editor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Unassigned |
Bug Description
Steps to reproduce:
- In the editor, put water around an island. The island should be hexagonal.
- Set port spaces everywhere where this is possible. They form a hexagon, too.
- Put some other terrain type instead of water around the island (I took snow, but other ones work too).
Expected result: The port spaces vanish since a port cannot be built any more.
Actual result: Only some port spaces vanish (see screenshot).
If you click now on the height tool (for example), the icons get updated and all port spaces vanish. New ones cannot be placed. If you remove the snow, the port spaces reappear (after another forced refresh).
If you save the map, you cannot build ports on such "wrong" port spaces.
Related branches
- GunChleoc: Approve
-
Diff: 29 lines (+5/-4)2 files modifiedsrc/logic/map.cc (+4/-3)
src/logic/map.h (+1/-1)
Changed in widelands: | |
status: | Expired → Confirmed |
Changed in widelands: | |
milestone: | none → build19-rc1 |
Changed in widelands: | |
status: | Confirmed → Fix Committed |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
The same issue has been reported by einstein13 in our forum (https:/ /wl.widelands. org/forum/ topic/1005/ ?page=1# post-9659, the second, edited part), therefore setting to confirmed.