--- a/src/tunnelbridge_cmd.c Sun Jan 07 13:13:01 2007 +0000
+++ b/src/tunnelbridge_cmd.c Sun Jan 07 16:35:20 2007 +0000
@@ -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)