diff --git a/docs/landscape.html b/docs/landscape.html
index abf01c9d8b..2aa30460ec 100644
--- a/docs/landscape.html
+++ b/docs/landscape.html
@@ -539,6 +539,7 @@
+
m3 bits 7..4: owner of road type 1 (tram); OWNER_NONE (10) is stored as OWNER_TOWN (0F)
m5 bits 7 clear: road or level-crossing
- m6 bits 5..3:
@@ -573,7 +574,6 @@
- - m3 bits 7..4: owner of road type 1 (tram); OWNER_NONE (10) is stored as OWNER_TOWN (0F)
- m5 bit 6 clear: road
- m1 bits 4..0: owner of the road type 0 (normal road)
@@ -663,6 +663,7 @@
+ - m7 bits 4..0: owner of the road type 0 (normal road)
m6 bits 7..6 : Possibility of a bridge above, in the direction specified
diff --git a/docs/landscape_grid.html b/docs/landscape_grid.html
index e2f3c1f977..cd5d3203d7 100644
--- a/docs/landscape_grid.html
+++ b/docs/landscape_grid.html
@@ -147,11 +147,11 @@ the array so you can quickly see what is used and what is not.
-inherit- |
-inherit- |
-inherit- |
- OOOO OOOO |
+ XXXX OOOO |
OOOO OOOO |
XXOO OOXX |
XXOO OOXX |
- XXXO OOOO |
+ XXXO XXXX |
3 |
diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp
index 7931fa965b..8527dc3d7d 100644
--- a/src/road_cmd.cpp
+++ b/src/road_cmd.cpp
@@ -1763,6 +1763,11 @@ static void ChangeTileOwner_Road(TileIndex tile, Owner old_owner, Owner new_owne
Company::Get(new_owner)->infrastructure.road[rt] += 2;
SetTileOwner(tile, new_owner);
+ for (RoadType rt = ROADTYPE_ROAD; rt < ROADTYPE_END; rt++) {
+ if (GetRoadOwner(tile, rt) == old_owner) {
+ SetRoadOwner(tile, rt, new_owner);
+ }
+ }
}
}
return;