From 1998e94ae71c67b073535f8d77137fbd504a521e Mon Sep 17 00:00:00 2001 From: Rubidium Date: Fri, 18 Oct 2024 16:13:27 +0200 Subject: [PATCH] Codechange: create the TileIndexDiff of the whole translation we want to execute --- src/tilearea_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }