summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tunnelbridge_cmd.c6
1 files 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)