mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-01 19:09:09 +00:00
(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