(svn r4741) - NewGRF: use the correct variable type for the random bit mask
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user