diff --git a/src/tilearea_type.h b/src/tilearea_type.h index 99048c403d..d056282654 100644 --- a/src/tilearea_type.h +++ b/src/tilearea_type.h @@ -218,7 +218,7 @@ public: this->tile++; } else if (--this->y > 0) { this->x = this->w; - this->tile += TileDiffXY(1, 1) - this->w; + this->tile += TileDiffXY(1 - this->w, 1); } else { this->tile = INVALID_TILE; }