diff options
| -rw-r--r-- | src/tile-iterator.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tile-iterator.hpp b/src/tile-iterator.hpp index 09d41550..ce4b645e 100644 --- a/src/tile-iterator.hpp +++ b/src/tile-iterator.hpp @@ -39,7 +39,7 @@ struct tile_tuple { { auto& [ptr, pos] = data; if constexpr(N == 0) - return pos == TILE_COUNT ? ptr[0] : ptr[pos]; + return ptr[pos]; else if constexpr(N == 1) return pos; else if constexpr(N == 2) |
