mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 23:50:25 +00:00
(svn r27132) -Codechange: Add an assertion about the size of the Tile struct to ensure alignment assumptions.
This commit is contained in:
parent
c9114af706
commit
6fceaeee40
@ -26,6 +26,8 @@ struct Tile {
|
||||
byte m5; ///< General purpose
|
||||
};
|
||||
|
||||
assert_compile(sizeof(Tile) == 8);
|
||||
|
||||
/**
|
||||
* Data that is stored per tile. Also used Tile for this.
|
||||
* Look at docs/landscape.html for the exact meaning of the members.
|
||||
|
Loading…
Reference in New Issue
Block a user