Codechange: do not hide variables with other variables
This commit is contained in:
@@ -862,7 +862,7 @@ static CommandCost DoClearTunnel(TileIndex tile, DoCommandFlag flags)
|
||||
|
||||
/* Check if you are allowed to remove the tunnel owned by a town
|
||||
* Removal depends on difficulty settings */
|
||||
CommandCost ret = CheckforTownRating(flags, t, TUNNELBRIDGE_REMOVE);
|
||||
ret = CheckforTownRating(flags, t, TUNNELBRIDGE_REMOVE);
|
||||
if (ret.Failed()) return ret;
|
||||
}
|
||||
|
||||
@@ -943,7 +943,7 @@ static CommandCost DoClearBridge(TileIndex tile, DoCommandFlag flags)
|
||||
|
||||
/* Check if you are allowed to remove the bridge owned by a town
|
||||
* Removal depends on difficulty settings */
|
||||
CommandCost ret = CheckforTownRating(flags, t, TUNNELBRIDGE_REMOVE);
|
||||
ret = CheckforTownRating(flags, t, TUNNELBRIDGE_REMOVE);
|
||||
if (ret.Failed()) return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user