Mercurial > hg > openttd
changeset 5561:a04bf4186163 draft
(svn r7966) -Fix (r7936): Eh AxisToTrack returns Track not Axis, thanks KUDr
author | Darkvater <Darkvater@openttd.org> |
---|---|
date | Sun, 07 Jan 2007 16:35:20 +0000 |
parents | 0a4c6f111052 |
children | d5b53d70d0b6 |
files | src/tunnelbridge_cmd.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/tunnelbridge_cmd.c +++ b/src/tunnelbridge_cmd.c @@ -371,9 +371,9 @@ } if (flags & DC_EXEC) { - Axis axis = AxisToTrack(direction); - SetSignalsOnBothDir(tile_start, axis); - YapfNotifyTrackLayoutChange(tile_start, axis); + Track track = AxisToTrack(direction); + SetSignalsOnBothDir(tile_start, track); + YapfNotifyTrackLayoutChange(tile_start, track); } /* for human player that builds the bridge he gets a selection to choose from bridges (DC_QUERY_COST)