Fix: List a max of four share owners instead of three

An AI company may have four different share owners, but the company information window is limited to display a max of three. This commit increases that limit.
This commit is contained in:
SamuXarick 2022-05-31 14:44:05 +01:00 committed by Michael Lutz
parent 3dda8c9bad
commit e604b76d18
1 changed files with 1 additions and 1 deletions

View File

@ -2222,7 +2222,7 @@ static const NWidgetPart _nested_company_widgets[] = {
NWidget(NWID_HORIZONTAL),
NWidget(NWID_SELECTION, INVALID_COLOUR, WID_C_SELECT_DESC_OWNERS),
NWidget(NWID_VERTICAL), SetPIP(5, 5, 4),
NWidget(WWT_EMPTY, INVALID_COLOUR, WID_C_DESC_OWNERS), SetMinimalTextLines(3, 0),
NWidget(WWT_EMPTY, INVALID_COLOUR, WID_C_DESC_OWNERS), SetMinimalTextLines(MAX_COMPANY_SHARE_OWNERS, 0),
NWidget(NWID_SPACER), SetFill(0, 1),
EndContainer(),
EndContainer(),