diff options
author | celestar <celestar@openttd.org> | 2007-01-11 12:47:42 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2007-01-11 12:47:42 +0000 |
commit | 8694ad9e0d020241ead33a4e0eaea22ba55bf8a2 (patch) | |
tree | b9561564a69f570be3a261aaa4f8e0c6da0bafba /src | |
parent | 6a256ff2dff58b9225fd99bc0e70c6f8172ab29b (diff) | |
download | openttd-8694ad9e0d020241ead33a4e0eaea22ba55bf8a2.tar.xz |
(svn r8058) -Codechange: Replaced an occurence of (uint32)-1 by UINT_MAX
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf_spritegroup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_spritegroup.cpp b/src/newgrf_spritegroup.cpp index db23fb708..7629084ef 100644 --- a/src/newgrf_spritegroup.cpp +++ b/src/newgrf_spritegroup.cpp @@ -81,7 +81,7 @@ static inline uint32 GetVariable(const ResolverObject *object, byte variable, by case 0x10: return object->callback_param1; case 0x11: return 0; case 0x18: return object->callback_param2; - case 0x1A: return (uint32)-1; + case 0x1A: return UINT_MAX; case 0x1B: return GB(_display_opt, 0, 6); case 0x1C: return object->last_value; case 0x20: return _opt.landscape == LT_HILLY ? _opt.snow_line : 0xFF; |