1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Remove unused array

This commit is contained in:
duncanspumpkin
2023-07-03 08:14:03 +01:00
parent 329b4d42ab
commit 5beadb4f17
2 changed files with 0 additions and 3 deletions

View File

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

View File

@@ -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;