diff options
author | Darkvater <darkvater@openttd.org> | 2007-01-07 16:35:20 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2007-01-07 16:35:20 +0000 |
commit | 43c030f438c5587094adbb37ee2f1cb177b5081a (patch) | |
tree | e26f80d585eaeb46090432eaeee0c126928761d2 /src | |
parent | 025d8dd224f0cd9f6c002a6e6a7787c04388fdb5 (diff) | |
download | openttd-43c030f438c5587094adbb37ee2f1cb177b5081a.tar.xz |
(svn r7966) -Fix (r7936): Eh AxisToTrack returns Track not Axis, thanks KUDr
Diffstat (limited to 'src')
-rw-r--r-- | src/tunnelbridge_cmd.c | 6 |
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) |