|
|
|
@ -1388,6 +1388,11 @@ void CheckCaches(bool force_check, std::function<void(const char *)> log)
|
|
|
|
|
if (old_industry_stations_nears[i] != ind->stations_near) {
|
|
|
|
|
CCLOG("industry stations_near mismatch: ind %i, (old size: %u, new size: %u)", (int)ind->index, (uint)old_industry_stations_nears[i].size(), (uint)ind->stations_near.size());
|
|
|
|
|
}
|
|
|
|
|
StationList stlist;
|
|
|
|
|
FindStationsAroundTiles(ind->location, &stlist, false);
|
|
|
|
|
if (ind->stations_near != stlist) {
|
|
|
|
|
CCLOG("industry FindStationsAroundTiles mismatch: ind %i, (recalc size: %u, find size: %u)", (int)ind->index, (uint)ind->stations_near.size(), (uint)stlist.size());
|
|
|
|
|
}
|
|
|
|
|
i++;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|