Add console command to set NewGRF optimiser flags

This commit is contained in:
Jonathan G Rennison
2022-06-04 02:04:57 +01:00
parent e5ef888e80
commit e49d0b3f29
3 changed files with 39 additions and 0 deletions

View File

@@ -158,6 +158,10 @@ byte NetworkSpectatorCount()
return count;
}
uint NetworkClientCount() {
return (uint)NetworkClientInfo::GetNumItems();
}
/**
* Change the company password of a given company.
* @param company_id ID of the company the password should be changed for.