mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r16288) -Fix (r16237): crash after clicking in the ClientList window
This commit is contained in:
parent
da1f2295c4
commit
d87206b6f7
@ -1934,8 +1934,10 @@ static void PopupClientList(int client_no, int x, int y)
|
||||
|
||||
if (NetworkFindClientInfo(client_no) == NULL) return;
|
||||
|
||||
const Widget *wid = InitializeWidgetArrayFromNestedWidgets(_nested_client_list_widgets, lengthof(_nested_client_list_widgets),
|
||||
_client_list_widgets, &generated_client_list_popup_widgets);
|
||||
const Widget *wid = InitializeWidgetArrayFromNestedWidgets(
|
||||
_nested_client_list_popup_widgets, lengthof(_nested_client_list_popup_widgets),
|
||||
_client_list_popup_widgets, &generated_client_list_popup_widgets
|
||||
);
|
||||
|
||||
new NetworkClientListPopupWindow(x, y, wid, client_no);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user