Fix various compiler warnings

See: #267
This commit is contained in:
Jonathan G Rennison
2021-06-10 23:43:41 +01:00
parent 24783c3d26
commit 97d5982cb5
8 changed files with 22 additions and 21 deletions

View File

@@ -397,6 +397,7 @@ static void UpdateRouteStepSpriteSize()
_vp_route_step_subsprite.top = 0;
}
#if !defined(DEDICATED)
/* multi can be density, field type, ... */
static SpriteID GetSpriteIDForClearGround(const ClearGround cg, const Slope slope, const uint multi)
{
@@ -415,6 +416,7 @@ static SpriteID GetSpriteIDForClearGround(const ClearGround cg, const Slope slop
default: NOT_REACHED();
}
}
#endif /* !DEDICATED */
/** Once the sprites are loaded, we can determine main colours of ground/water/... */
void GfxDetermineMainColours()