1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-24 04:34:16 +01:00

Codefix: Avoid uppercase characters in variable names. (#13985)

This commit is contained in:
Peter Nelson
2025-04-10 07:19:27 +01:00
committed by GitHub
parent 59aceee887
commit 936d78fefc
22 changed files with 201 additions and 201 deletions

View File

@@ -2813,7 +2813,7 @@ static bool TryBuildTownHouse(Town *t, TileIndex tile)
probs.emplace_back(hs.Index(), cur_prob);
}
TileIndex baseTile = tile;
TileIndex base_tile = tile;
while (probability_max > 0) {
/* Building a multitile building can change the location of tile.
@@ -2821,7 +2821,7 @@ static bool TryBuildTownHouse(Town *t, TileIndex tile)
* its northern tile would be elsewhere. However, if the callback
* fails we would be basing further work from the changed tile.
* So a next 1x1 tile building could be built on the wrong tile. */
tile = baseTile;
tile = base_tile;
uint r = RandomRange(probability_max);
uint i;