(svn r27132) -Codechange: Add an assertion about the size of the Tile struct to ensure alignment assumptions.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user