From fd6a4800045c079fb1dde0415513e5e70def4804 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 18 Feb 2009 09:14:41 +0000 Subject: (svn r15513) -Cleanup: Unavailable varaction variable value does not matter, but at least it can be consistent. --- src/newgrf_industrytiles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf_industrytiles.cpp') 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) -- cgit v1.2.3-54-g00ecf