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:
@@ -352,7 +352,7 @@ static const WindowDesc _terraform_desc(
|
||||
|
||||
void ShowTerraformToolbar(Window *link)
|
||||
{
|
||||
if (!IsValidCompanyID(_local_company)) return;
|
||||
if (!Company::IsValidID(_local_company)) return;
|
||||
|
||||
Window *w = AllocateWindowDescFront<TerraformToolbarWindow>(&_terraform_desc, 0);
|
||||
if (link == NULL) return;
|
||||
|
||||
Reference in New Issue
Block a user