@@ -302,13 +302,13 @@ static uint32_t GetCountAndDistanceOfClo
t = this->obj->town;
}
switch (variable) {
/* Relative position. */
case 0x40: {
uint offset = this->tile - this->obj->location.tile;
TileIndex offset = this->tile - this->obj->location.tile;
uint offset_x = TileX(offset);
uint offset_y = TileY(offset);
return offset_y << 20 | offset_x << 16 | offset_y << 8 | offset_x;
/* Tile information. */