Codechange: rename CargoID to CargoType and amend related variables/comments
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ Station::~Station()
|
||||
if (a->targetairport == this->index) a->targetairport = INVALID_STATION;
|
||||
}
|
||||
|
||||
for (CargoID c = 0; c < NUM_CARGO; ++c) {
|
||||
for (CargoType c = 0; c < NUM_CARGO; ++c) {
|
||||
LinkGraph *lg = LinkGraph::GetIfValid(this->goods[c].link_graph);
|
||||
if (lg == nullptr) continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user