OpenTTD

Tasklist

FS#6613 - Airports: when placing an airport, consider airport tile table tiles only.

Attached to Project: OpenTTD
Opened by Grzegorz DuczyƄski (adf88) - Saturday, 19 August 2017, 18:50 GMT
Last edited by andythenorth (andythenorth) - Sunday, 03 September 2017, 06:34 GMT
Type Patch
Category Core
Status New
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

When placing an airport, check for flat land and clear tiles that belong to the airport tile table only rather then iterating whole airport rectangle.

There is no point in checking other tiles (other then these in the tile table) - they can be altered after the airport is built anyway.

This patch allows e.g. to always re-create an airport on the same location, also airports with non-uniform (non-rectangular) layouts, even thought some obstacles appeared on unoccupied tiles inside airport rectangle.
This task depends upon

Comment by andythenorth (andythenorth) - Sunday, 03 September 2017, 06:35 GMT
Retitled only because I'm making lists of related items based on ticket title prefixes ;)

Loading...