From 43c030f438c5587094adbb37ee2f1cb177b5081a Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sun, 7 Jan 2007 16:35:20 +0000 Subject: (svn r7966) -Fix (r7936): Eh AxisToTrack returns Track not Axis, thanks KUDr --- src/tunnelbridge_cmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tunnelbridge_cmd.c b/src/tunnelbridge_cmd.c index 9f51b450c..ea2aaf730 100644 --- a/src/tunnelbridge_cmd.c +++ b/src/tunnelbridge_cmd.c @@ -371,9 +371,9 @@ not_valid_below:; } 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) -- cgit v1.2.3-70-g09d2