mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 21:49:10 +00:00
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
This commit is contained in:
@@ -190,12 +190,12 @@ static void TileLoopClearAlps(TileIndex tile)
|
||||
}
|
||||
}
|
||||
/* Update snow density. */
|
||||
uint curent_density = GetClearDensity(tile);
|
||||
uint current_density = GetClearDensity(tile);
|
||||
uint req_density = (k < 0) ? 0u : min((uint)k, 3);
|
||||
|
||||
if (curent_density < req_density) {
|
||||
if (current_density < req_density) {
|
||||
AddClearDensity(tile, 1);
|
||||
} else if (curent_density > req_density) {
|
||||
} else if (current_density > req_density) {
|
||||
AddClearDensity(tile, -1);
|
||||
} else {
|
||||
/* Density at the required level. */
|
||||
|
Reference in New Issue
Block a user