diff options
Diffstat (limited to 'src/cell.c')
-rw-r--r-- | src/cell.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ cell_find(Cell *this, int tile) { rfor (y, 0, this->height) rfor (x, 0, this->width) - if (this->data[x + y * this->width] == tile) + if (this->data[x + y * this->width] == tile + 1) return I2(x, y); return I2R(-1); } |