(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