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

This commit is contained in:
frosch 2015-02-01 12:25:51 +00:00
parent c9114af706
commit 6fceaeee40

View File

@ -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.