diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tile.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tile.cpp b/src/tile.cpp index 2d658ff1..53ae88b3 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -3,6 +3,9 @@ namespace floormat { +// no avoiding it with rotations +static_assert(iTILE_SIZE2.x() == iTILE_SIZE2.y()); + bool operator==(const tile_proto& a, const tile_proto& b) noexcept { return a.ground() == b.ground() && a.wall_north() == b.wall_north() && |