Codechange: strongly type DepotID

This commit is contained in:
Rubidium
2025-02-09 16:52:21 +01:00
committed by rubidium42
parent d55b9cff9d
commit 798e9f229c
8 changed files with 12 additions and 9 deletions
+2 -2
View File
@@ -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();
}
}