1
0
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:
Duncan
2020-03-28 12:12:53 +00:00
committed by GitHub
parent fc645180be
commit e7d0043756
3 changed files with 40 additions and 31 deletions

View File

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