forked from rosebudai/OpenRCT2-Web
Remove unused array
This commit is contained in:
1 parent
329b4d42ab
commit
5beadb4f17
2 files changed
-3
No files matched your search
@@ -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