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:
Peter Nelson
2025-10-25 17:49:10 +01:00
committed by dP
parent c2d92433c6
commit 7715b9e83e
10 changed files with 17 additions and 14 deletions

View File

@@ -80,7 +80,7 @@ inline void MakeObject(Tile t, Owner o, ObjectID index, WaterClass wc, uint8_t r
t.m3() = random;
t.m4() = 0;
t.m5() = index.base() >> 16;
SB(t.m6(), 2, 4, 0);
SB(t.m6(), 2, 6, 0);
t.m7() = 0;
}