changeset 9254 | 7190535588ee |
parent 9252 | 92e05c28a994 |
child 9281 | d8cd9ac52a68 |
--- a/src/newgrf.cpp Fri Mar 28 01:22:47 2008 +0000 +++ b/src/newgrf.cpp Fri Mar 28 02:10:25 2008 +0000 @@ -2592,8 +2592,8 @@ group->type = SGT_RANDOMIZED; group->g.random.var_scope = HasBit(type, 1) ? VSG_SCOPE_PARENT : VSG_SCOPE_SELF; - if (HasBit(type, 2) && feature <= GSF_AIRCRAFT) { - group->g.random.var_scope = VSG_SCOPE_RELATIVE; + if (HasBit(type, 2)) { + if (feature <= GSF_AIRCRAFT) group->g.random.var_scope = VSG_SCOPE_RELATIVE; group->g.random.count = grf_load_byte(&buf); }