mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-14 07:07:02 +01:00
Codechange: create the TileIndexDiff of the whole translation we want to execute
This commit is contained in:
parent
a6b7593a52
commit
1998e94ae7
@ -218,7 +218,7 @@ public:
|
|||||||
this->tile++;
|
this->tile++;
|
||||||
} else if (--this->y > 0) {
|
} else if (--this->y > 0) {
|
||||||
this->x = this->w;
|
this->x = this->w;
|
||||||
this->tile += TileDiffXY(1, 1) - this->w;
|
this->tile += TileDiffXY(1 - this->w, 1);
|
||||||
} else {
|
} else {
|
||||||
this->tile = INVALID_TILE;
|
this->tile = INVALID_TILE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user