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

View File

@@ -82,6 +82,7 @@ inline void MakeObject(Tile t, Owner o, ObjectID index, WaterClass wc, uint8_t r
t.m5() = index.base() >> 16;
SB(t.m6(), 2, 6, 0);
t.m7() = 0;
t.m8() = 0;
}
#endif /* OBJECT_MAP_H */