Fix a bunch more compile warnings

This commit is contained in:
dP
2024-02-19 17:56:28 +05:30
parent f5f570b574
commit a853d1a379
19 changed files with 61 additions and 71 deletions

View File

@@ -625,7 +625,7 @@ uint32_t GetSmallMapOwnerPixels(TileIndex tile, TileType t, IncludeHeightmap inc
static inline uint32 CM_GetSmallMapIMBAPixels(TileIndex tile, TileType t)
{
const SmallMapColourScheme *cs = &_heightmap_schemes[_settings_client.gui.smallmap_land_colour];
// const SmallMapColourScheme *cs = &_heightmap_schemes[_settings_client.gui.smallmap_land_colour];
switch (t) {
// case MP_TREES:
// if (GetTreeGround(tile) == TREE_GROUND_SNOW_DESERT || GetTreeGround(tile) == TREE_GROUND_ROUGH_SNOW) {