1
0
Fork 0

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

release/1.5
frosch 2015-02-01 12:25:51 +00:00
parent c9114af706
commit 6fceaeee40
1 changed files with 2 additions and 0 deletions

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.