mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 23:34:37 +01:00
Rename Peep::staff_rides_inspected to StaffRidesInspected
This commit is contained in:
@@ -1124,7 +1124,7 @@ void window_staff_stats_paint(rct_window* w, rct_drawpixelinfo* dpi)
|
||||
break;
|
||||
case STAFF_TYPE_MECHANIC:
|
||||
gfx_draw_string_left(
|
||||
dpi, STR_STAFF_STAT_RIDES_INSPECTED, static_cast<void*>(&peep->staff_rides_inspected), COLOUR_BLACK, x, y);
|
||||
dpi, STR_STAFF_STAT_RIDES_INSPECTED, static_cast<void*>(&peep->StaffRidesInspected), COLOUR_BLACK, x, y);
|
||||
y += LIST_ROW_HEIGHT;
|
||||
gfx_draw_string_left(
|
||||
dpi, STR_STAFF_STAT_RIDES_FIXED, static_cast<void*>(&peep->staff_rides_fixed), COLOUR_BLACK, x, y);
|
||||
|
||||
@@ -720,7 +720,7 @@ struct Peep : SpriteBase
|
||||
{
|
||||
money16 paid_on_rides;
|
||||
uint16_t staff_gardens_watered;
|
||||
uint16_t staff_rides_inspected;
|
||||
uint16_t StaffRidesInspected;
|
||||
};
|
||||
union
|
||||
{
|
||||
|
||||
@@ -370,7 +370,7 @@ void staff_reset_stats()
|
||||
peep->staff_lawns_mown = 0;
|
||||
peep->staff_rides_fixed = 0;
|
||||
peep->staff_gardens_watered = 0;
|
||||
peep->staff_rides_inspected = 0;
|
||||
peep->StaffRidesInspected = 0;
|
||||
peep->StaffLitterSwept = 0;
|
||||
peep->StaffBinsEmptied = 0;
|
||||
}
|
||||
@@ -2630,7 +2630,7 @@ bool Staff::UpdateFixingFinishFixOrInspect(bool firstRun, int32_t steps, Ride* r
|
||||
{
|
||||
UpdateRideInspected(current_ride);
|
||||
|
||||
staff_rides_inspected++;
|
||||
StaffRidesInspected++;
|
||||
window_invalidate_flags |= RIDE_INVALIDATE_RIDE_INCOME | RIDE_INVALIDATE_RIDE_LIST;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user