Codefix: Clear m8 when making tiles.
m8 should be cleared when tiles do not use it.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user