mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-07 07:04:36 +01:00
Rename Peep::staff_bins_emptied to StaffBinsEmptied
This commit is contained in:
@@ -1120,7 +1120,7 @@ void window_staff_stats_paint(rct_window* w, rct_drawpixelinfo* dpi)
|
||||
dpi, STR_STAFF_STAT_LITTER_SWEPT, static_cast<void*>(&peep->staff_litter_swept), COLOUR_BLACK, x, y);
|
||||
y += LIST_ROW_HEIGHT;
|
||||
gfx_draw_string_left(
|
||||
dpi, STR_STAFF_STAT_BINS_EMPTIED, static_cast<void*>(&peep->staff_bins_emptied), COLOUR_BLACK, x, y);
|
||||
dpi, STR_STAFF_STAT_BINS_EMPTIED, static_cast<void*>(&peep->StaffBinsEmptied), COLOUR_BLACK, x, y);
|
||||
break;
|
||||
case STAFF_TYPE_MECHANIC:
|
||||
gfx_draw_string_left(
|
||||
|
||||
@@ -730,7 +730,7 @@ struct Peep : SpriteBase
|
||||
union
|
||||
{
|
||||
money16 paid_on_souvenirs;
|
||||
uint16_t staff_bins_emptied;
|
||||
uint16_t StaffBinsEmptied;
|
||||
};
|
||||
uint8_t NoOfFood;
|
||||
uint8_t NoOfDrinks;
|
||||
|
||||
@@ -372,7 +372,7 @@ void staff_reset_stats()
|
||||
peep->staff_gardens_watered = 0;
|
||||
peep->staff_rides_inspected = 0;
|
||||
peep->staff_litter_swept = 0;
|
||||
peep->staff_bins_emptied = 0;
|
||||
peep->StaffBinsEmptied = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1375,7 +1375,7 @@ void Staff::UpdateEmptyingBin()
|
||||
tile_element->AsPath()->SetAdditionStatus(additionStatus);
|
||||
|
||||
map_invalidate_tile_zoom0({ NextLoc, tile_element->GetBaseZ(), tile_element->GetClearanceZ() });
|
||||
staff_bins_emptied++;
|
||||
StaffBinsEmptied++;
|
||||
window_invalidate_flags |= PEEP_INVALIDATE_STAFF_STATS;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user