1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 17:39:09 +00:00

Codechange: create the TileIndexDiff of the whole translation we want to execute

This commit is contained in:
Rubidium
2024-10-18 16:13:27 +02:00
parent 666f521f2c
commit 53ed29bd04

View File

@@ -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;
}