Update to 14.0

This commit is contained in:
dP
2024-04-14 01:56:35 +07:00
parent 872e715374
commit 14504ff3b2
73 changed files with 1780 additions and 1570 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ void BuildCargoLabelMap()
CargoSpec::label_map.clear();
for (const CargoSpec &cs : CargoSpec::array) {
/* During initialization, CargoSpec can be marked valid before the label has been set. */
if (!cs.IsValid() || cs.label == CargoLabel{0}) continue;
if (!cs.IsValid() || cs.label == CargoLabel{0} || cs.label == CT_INVALID) continue;
/* Label already exists, don't addd again. */
if (CargoSpec::label_map.count(cs.label) != 0) continue;