File diff r23953:ba75d2f3b530 → r23954:8e43140b9a66
src/network/network_server.cpp
Show inline comments
 
@@ -1547,7 +1547,6 @@ void NetworkSocketHandler::SendCompanyIn
 
void NetworkPopulateCompanyStats(NetworkCompanyStats *stats)
 
{
 
	const Vehicle *v;
 
	const Station *s;
 

	
 
	memset(stats, 0, sizeof(*stats) * MAX_COMPANIES);
 

	
 
@@ -1566,7 +1565,7 @@ void NetworkPopulateCompanyStats(Network
 
	}
 

	
 
	/* Go through all stations and count the types of stations */
 
	FOR_ALL_STATIONS(s) {
 
	for (const Station *s : Station::Iterate()) {
 
		if (Company::IsValidID(s->owner)) {
 
			NetworkCompanyStats *npi = &stats[s->owner];