(svn r26646) -Fix [FS#6041]: Save locations instead of distances in link graphs to reduce size.
This commit is contained in:
@@ -649,7 +649,7 @@ static void UpdateStationSignCoord(BaseStation *st)
|
||||
for (CargoID c = 0; c < NUM_CARGO; ++c) {
|
||||
LinkGraphID lg = full_station->goods[c].link_graph;
|
||||
if (!LinkGraph::IsValidID(lg)) continue;
|
||||
LinkGraph::Get(lg)->UpdateDistances(full_station->goods[c].node, st->xy);
|
||||
(*LinkGraph::Get(lg))[full_station->goods[c].node].UpdateLocation(st->xy);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user