(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
This commit is contained in:
@@ -278,7 +278,7 @@ static const WindowDesc _build_docks_toolbar_desc = {
|
||||
|
||||
void ShowBuildDocksToolbar()
|
||||
{
|
||||
if (!IsValidPlayerID(_current_player)) return;
|
||||
if (!IsValidCompanyID(_current_company)) return;
|
||||
|
||||
DeleteWindowByClass(WC_BUILD_TOOLBAR);
|
||||
AllocateWindowDescFront<BuildDocksToolbarWindow>(&_build_docks_toolbar_desc, TRANSPORT_WATER);
|
||||
|
Reference in New Issue
Block a user