summaryrefslogtreecommitdiff
path: root/newgrf_spritegroup.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-05-04 19:42:50 +0000
committerpeter1138 <peter1138@openttd.org>2006-05-04 19:42:50 +0000
commit27e7fbaaa0afd3cabcf1289e2fedb48867a33506 (patch)
treeed5ad7cff3089ca4f24c9592cbc902583e24f903 /newgrf_spritegroup.c
parent34668ff09d21211527f81b2e89599903163db58d (diff)
downloadopenttd-27e7fbaaa0afd3cabcf1289e2fedb48867a33506.tar.xz
(svn r4741) - NewGRF: use the correct variable type for the random bit mask
Diffstat (limited to 'newgrf_spritegroup.c')
-rw-r--r--newgrf_spritegroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_spritegroup.c b/newgrf_spritegroup.c
index 7766aa452..fd27d3aff 100644
--- a/newgrf_spritegroup.c
+++ b/newgrf_spritegroup.c
@@ -188,7 +188,7 @@ static inline const SpriteGroup *ResolveVariable(const SpriteGroup *group, Resol
static inline const SpriteGroup *ResolveRandom(const SpriteGroup *group, ResolverObject *object)
{
- byte mask;
+ uint32 mask;
byte index;
object->scope = group->g.random.var_scope;