(svn r27132) -Codechange: Add an assertion about the size of the Tile struct to ensure alignment assumptions.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
frosch 9 years ago
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…
Cancel
Save