FS#4627 - Remove superfluous railway fence

Attached to Project: OpenTTD
Opened by Christian Hattemer (Krille) - Saturday, 28 May 2011, 14:44 GMT
Last edited by Thijs Marinussen (Yexo) - Tuesday, 08 November 2011, 17:52 GMT
Type Patch
Category Interface
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


With two parallel railway tracks and a waypoint on one of them there will be a fence in the middle of the tracks besides the waypoint while there's none for the remaining track. The patch fixes that.

The patch also fixes two wrong comments. Note that there are similar errors in other *_cmd.cpp files, I didn't supply a fix for that.

Maybe there should be fences on the outsides of waypoints, that would require some restructuring to make the fence code available to both the railway and station tile loops.
This task depends upon

Closed by  Thijs Marinussen (Yexo)
Tuesday, 08 November 2011, 17:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r23163