mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 00:04:43 +01:00
Rework StaffList to use a vector (#11059)
* Rework StaffList to use a vector This is a part of a reworking that removes the need for the peep list to be sorted by name/number order. Ultimately simplifying the sprite create code * Remove unused variable setting
This commit is contained in:
@@ -362,11 +362,7 @@ public:
|
||||
|
||||
case INTENT_ACTION_REFRESH_STAFF_LIST:
|
||||
{
|
||||
auto w = window_find_by_class(WC_STAFF_LIST);
|
||||
if (w != nullptr)
|
||||
{
|
||||
w->no_list_items = 0;
|
||||
}
|
||||
WindowStaffListRefresh();
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user