mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-20 02:42:42 +01:00
Codechange: strongly type DepotID
This commit is contained in:
@@ -2355,8 +2355,8 @@ bool AfterLoadGame()
|
||||
d = nullptr;
|
||||
continue;
|
||||
}
|
||||
tile.m2() = d->index;
|
||||
if (IsTileType(tile, MP_WATER)) Tile(GetOtherShipDepotTile(tile)).m2() = d->index;
|
||||
tile.m2() = d->index.base();
|
||||
if (IsTileType(tile, MP_WATER)) Tile(GetOtherShipDepotTile(tile)).m2() = d->index.base();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user