diff options
Diffstat (limited to 'src/newgrf_industrytiles.cpp')
-rw-r--r-- | src/newgrf_industrytiles.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp index 46d5eedf2..ab35330b2 100644 --- a/src/newgrf_industrytiles.cpp +++ b/src/newgrf_industrytiles.cpp @@ -102,7 +102,7 @@ static uint32 IndustryTileGetVariable(const ResolverObject *object, byte variabl DEBUG(grf, 1, "Unhandled industry tile property 0x%X", variable); *available = false; - return (uint32)-1; + return UINT_MAX; } static const SpriteGroup *IndustryTileResolveReal(const ResolverObject *object, const SpriteGroup *group) |