HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. "Read more...":https://support.plan.io/news/187
Bug #767129
closedNation-specific starting units can start on non-native terrain, or on hut tile
0%
Description
While looking at init_new_game() for bug #767127, I noticed that standard player start units are placed with place_starting_unit(), which finds the nearest tile the unit type can exist on and gets rid of any hut there; but nation-specific start units don't benefit from this. Probably there's no good reason for the difference?
Files
Related issues
Updated by Jacob Nevins over 4 years ago
- Related to Bug #767127: Server can hang in find_dispersed_position() if scenario has invalid start position added
Updated by Marko Lindqvist almost 4 years ago
- File 0005-Use-place_starting_unit-to-place-nation-specific-sta.patch 0005-Use-place_starting_unit-to-place-nation-specific-sta.patch added
- File 0001-Use-place_starting_unit-to-place-nation-specific-sta.patch 0001-Use-place_starting_unit-to-place-nation-specific-sta.patch added
- Status changed from New to Resolved
- Sprint/Milestone set to 2.5.12
Fix attached
Jacob Nevins wrote:
Probably there's no good reason for the difference?
Probably it was that way since create_starting_unit() took unit role while nation specific start units are already a specific unit type. Changed create_starting_unit() to work with either.
Updated by Marko Lindqvist almost 4 years ago
- Status changed from Resolved to Closed
- Assignee set to Marko Lindqvist