Old revision #pxiroplnx | New revision #pigwwlfp4 | ||
---|---|---|---|
7 | { | 7 | { |
8 | SetTileType(t, MP_INDUSTRY); | 8 | SetTileType(t, MP_INDUSTRY); |
9 | - _m[t].m1 = 0; | 9 | - _m[t].m1 = 0; |
10 | + SB(_m[t].m1, 0, 4, 0); SB(_m[t].m1, 5, 3, 0); | 10 | + SB(_m[t].m1, 0, 4, 0); SB(_m[t].m1, 5, 3, 0); // Make sure bit 4 is unaffected. |
11 | _m[t].m2 = index; | 11 | _m[t].m2 = index; |
12 | SetIndustryRandomBits(t, random); // m3 | 12 | SetIndustryRandomBits(t, random); // m3 |
13 | _m[t].m4 = 0; | 13 | _m[t].m4 = 0; |