mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-25 08:22:17 +00:00
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
This commit is contained in:
+1
-1
@@ -676,7 +676,7 @@ static const WindowDesc _company_stations_desc(
|
||||
*/
|
||||
void ShowCompanyStations(CompanyID company)
|
||||
{
|
||||
if (!IsValidCompanyID(company)) return;
|
||||
if (!Company::IsValidID(company)) return;
|
||||
|
||||
AllocateWindowDescFront<CompanyStationsWindow>(&_company_stations_desc, company);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user