mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 02:05:13 +01:00
Rename Peep::staff_litter_swept to StaffLitterSwept
This commit is contained in:
@@ -1117,7 +1117,7 @@ void window_staff_stats_paint(rct_window* w, rct_drawpixelinfo* dpi)
|
||||
dpi, STR_STAFF_STAT_GARDENS_WATERED, static_cast<void*>(&peep->staff_gardens_watered), COLOUR_BLACK, x, y);
|
||||
y += LIST_ROW_HEIGHT;
|
||||
gfx_draw_string_left(
|
||||
dpi, STR_STAFF_STAT_LITTER_SWEPT, static_cast<void*>(&peep->staff_litter_swept), COLOUR_BLACK, x, y);
|
||||
dpi, STR_STAFF_STAT_LITTER_SWEPT, static_cast<void*>(&peep->StaffLitterSwept), COLOUR_BLACK, x, y);
|
||||
y += LIST_ROW_HEIGHT;
|
||||
gfx_draw_string_left(
|
||||
dpi, STR_STAFF_STAT_BINS_EMPTIED, static_cast<void*>(&peep->StaffBinsEmptied), COLOUR_BLACK, x, y);
|
||||
|
||||
@@ -725,7 +725,7 @@ struct Peep : SpriteBase
|
||||
union
|
||||
{
|
||||
money16 paid_on_food;
|
||||
uint16_t staff_litter_swept;
|
||||
uint16_t StaffLitterSwept;
|
||||
};
|
||||
union
|
||||
{
|
||||
|
||||
@@ -371,7 +371,7 @@ void staff_reset_stats()
|
||||
peep->staff_rides_fixed = 0;
|
||||
peep->staff_gardens_watered = 0;
|
||||
peep->staff_rides_inspected = 0;
|
||||
peep->staff_litter_swept = 0;
|
||||
peep->StaffLitterSwept = 0;
|
||||
peep->StaffBinsEmptied = 0;
|
||||
}
|
||||
}
|
||||
@@ -1394,7 +1394,7 @@ void Staff::UpdateSweeping()
|
||||
{
|
||||
// Remove sick at this location
|
||||
litter_remove_at(x, y, z);
|
||||
staff_litter_swept++;
|
||||
StaffLitterSwept++;
|
||||
window_invalidate_flags |= PEEP_INVALIDATE_STAFF_STATS;
|
||||
}
|
||||
if (auto loc = UpdateAction())
|
||||
|
||||
Reference in New Issue
Block a user