summaryrefslogtreecommitdiff
path: root/bridge_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'bridge_gui.c')
-rw-r--r--bridge_gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bridge_gui.c b/bridge_gui.c
index d7e9fbda0..1ee87f1cd 100644
--- a/bridge_gui.c
+++ b/bridge_gui.c
@@ -134,8 +134,8 @@ void ShowBuildBridgeWindow(TileIndex start, TileIndex end, byte bridge_type)
errmsg = _error_message;
} else {
// check which bridges can be built
- int bridge_len; // length of the middle parts of the bridge
- int tot_bridgedata_len; // total length of bridge
+ int bridge_len; // length of the middle parts of the bridge
+ int tot_bridgedata_len; // total length of bridge
// get absolute bridge length
bridge_len = GetBridgeLength(start, end);
@@ -143,7 +143,7 @@ void ShowBuildBridgeWindow(TileIndex start, TileIndex end, byte bridge_type)
tot_bridgedata_len = CalcBridgeLenCostFactor(tot_bridgedata_len);
- for (bridge_type = 0; bridge_type != MAX_BRIDGES; bridge_type++) { // loop for all bridgetypes
+ for (bridge_type = 0; bridge_type != MAX_BRIDGES; bridge_type++) { // loop for all bridgetypes
if (CheckBridge_Stuff(bridge_type, bridge_len)) {
const Bridge *b = &_bridge[bridge_type];
// bridge is accepted, add to list