Codefix: Clear m8 when making tiles.
m8 should be cleared when tiles do not use it.
This commit is contained in:
@@ -287,6 +287,7 @@ inline void MakeIndustry(Tile t, IndustryID index, IndustryGfx gfx, uint8_t rand
|
||||
SetWaterClass(t, wc);
|
||||
SB(t.m6(), 6, 2, 0);
|
||||
t.m7() = 0;
|
||||
t.m8() = 0;
|
||||
}
|
||||
|
||||
#endif /* INDUSTRY_MAP_H */
|
||||
|
||||
Reference in New Issue
Block a user