Mercurial > hg > openttd
changeset 5604:709993545238 draft
(svn r8058) -Codechange: Replaced an occurence of (uint32)-1 by UINT_MAX
author | celestar <celestar@openttd.org> |
---|---|
date | Thu, 11 Jan 2007 12:47:42 +0000 |
parents | 3c4ee4960912 |
children | 031b17c79c60 |
files | src/newgrf_spritegroup.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf_spritegroup.cpp +++ b/src/newgrf_spritegroup.cpp @@ -81,7 +81,7 @@ 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;