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.
pull/444/head
SamuXarick 2 years ago committed by Michael Lutz
parent 3dda8c9bad
commit e604b76d18

@ -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(),

Loading…
Cancel
Save