Codefix: Clear m6 more thoroughly when making tiles.
m6 bits 6-7 were previously used to be for bridge above state, but should now be cleared.
This commit is contained in:
@@ -285,6 +285,7 @@ inline void MakeIndustry(Tile t, IndustryID index, IndustryGfx gfx, uint8_t rand
|
||||
SetIndustryGfx(t, gfx); // m5, part of m6
|
||||
SetIndustryRandomTriggers(t, {}); // rest of m6
|
||||
SetWaterClass(t, wc);
|
||||
SB(t.m6(), 6, 2, 0);
|
||||
t.m7() = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user