Codefix: Clear m8 when making tiles.

m8 should be cleared when tiles do not use it.
This commit is contained in:
Peter Nelson
2025-10-26 17:53:49 +00:00
committed by dP
parent 7715b9e83e
commit c83537a484
7 changed files with 10 additions and 0 deletions
+1
View File
@@ -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 */