From 871107f52952ee59c353feab933126ed206e60bf Mon Sep 17 00:00:00 2001 From: smatz Date: Sun, 17 May 2009 01:00:56 +0000 Subject: (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) --- src/dock_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dock_gui.cpp') diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp index 9f23793a3..46ce1db29 100644 --- a/src/dock_gui.cpp +++ b/src/dock_gui.cpp @@ -306,7 +306,7 @@ static const WindowDesc _build_docks_toolbar_desc( void ShowBuildDocksToolbar() { - if (!IsValidCompanyID(_local_company)) return; + if (!Company::IsValidID(_local_company)) return; DeleteWindowByClass(WC_BUILD_TOOLBAR); AllocateWindowDescFront(&_build_docks_toolbar_desc, TRANSPORT_WATER); -- cgit v1.2.3-54-g00ecf