mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r4741) - NewGRF: use the correct variable type for the random bit mask
This commit is contained in:
parent
34668ff09d
commit
27e7fbaaa0
|
@ -188,7 +188,7 @@ static inline const SpriteGroup *ResolveVariable(const SpriteGroup *group, Resol
|
||||||
|
|
||||||
static inline const SpriteGroup *ResolveRandom(const SpriteGroup *group, ResolverObject *object)
|
static inline const SpriteGroup *ResolveRandom(const SpriteGroup *group, ResolverObject *object)
|
||||||
{
|
{
|
||||||
byte mask;
|
uint32 mask;
|
||||||
byte index;
|
byte index;
|
||||||
|
|
||||||
object->scope = group->g.random.var_scope;
|
object->scope = group->g.random.var_scope;
|
||||||
|
|
Loading…
Reference in New Issue