mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Remove unused array
This commit is contained in:
@@ -347,7 +347,6 @@ void MultiplayerWindow::OnResize()
|
||||
WindowSetResize(*this, 420, 124, 500, 450);
|
||||
|
||||
no_list_items = (IsServerPlayerInvisible() ? NetworkGetNumVisiblePlayers() : NetworkGetNumPlayers());
|
||||
list_item_positions[0] = 0;
|
||||
|
||||
widgets[WIDX_HEADER_PING].right = width - 5;
|
||||
|
||||
@@ -360,7 +359,6 @@ void MultiplayerWindow::OnResize()
|
||||
WindowSetResize(*this, 320, 200, 320, 500);
|
||||
|
||||
no_list_items = NetworkGetNumActions();
|
||||
list_item_positions[0] = 0;
|
||||
|
||||
selected_list_item = -1;
|
||||
Invalidate();
|
||||
|
||||
@@ -50,7 +50,6 @@ struct WindowBase
|
||||
};
|
||||
uint16_t flags{};
|
||||
ScrollBar scrolls[3];
|
||||
uint32_t list_item_positions[1024]{};
|
||||
uint16_t no_list_items{}; // 0 for no items
|
||||
int16_t selected_list_item{}; // -1 for none selected
|
||||
std::optional<Focus> focus;
|
||||
|
||||
Reference in New Issue
Block a user