1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-26 13:44:16 +01:00

Codechange: Merge (IsOn|Toggle)(Snow|Desert) into (IsOn|Toggle)SnowOrDesert.

This commit is contained in:
frosch
2025-04-17 13:41:18 +02:00
committed by frosch
parent 252376ce3e
commit 42deccc4f5
3 changed files with 10 additions and 14 deletions

View File

@@ -357,7 +357,7 @@ uint32_t GetTerrainType(TileIndex tile, TileContext context)
case MP_ROAD:
/* During map generation the snowstate may not be valid yet, as the tileloop may not have run yet. */
if (_generating_world) goto genworld; // we do not care about foundations here
has_snow = IsOnSnow(tile);
has_snow = IsOnSnowOrDesert(tile);
break;
case MP_TREES: {