(svn r7966) -Fix (r7936): Eh AxisToTrack returns Track not Axis, thanks KUDr
authorDarkvater
Sun, 07 Jan 2007 16:35:20 +0000
changeset 5561 d276d7fbc819
parent 5560 94d98c7015ce
child 5562 0a7b51c922b9
(svn r7966) -Fix (r7936): Eh AxisToTrack returns Track not Axis, thanks KUDr
src/tunnelbridge_cmd.c
--- 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)