diff --git a/src/openrct2-ui/windows/Staff.cpp b/src/openrct2-ui/windows/Staff.cpp index 0c425aa8cc..f5f63300a2 100644 --- a/src/openrct2-ui/windows/Staff.cpp +++ b/src/openrct2-ui/windows/Staff.cpp @@ -1127,7 +1127,7 @@ void window_staff_stats_paint(rct_window* w, rct_drawpixelinfo* dpi) dpi, STR_STAFF_STAT_RIDES_INSPECTED, static_cast(&peep->StaffRidesInspected), COLOUR_BLACK, x, y); y += LIST_ROW_HEIGHT; gfx_draw_string_left( - dpi, STR_STAFF_STAT_RIDES_FIXED, static_cast(&peep->staff_rides_fixed), COLOUR_BLACK, x, y); + dpi, STR_STAFF_STAT_RIDES_FIXED, static_cast(&peep->StaffRidesFixed), COLOUR_BLACK, x, y); break; } } diff --git a/src/openrct2/peep/Peep.h b/src/openrct2/peep/Peep.h index cf67a45d28..53abb4bb72 100644 --- a/src/openrct2/peep/Peep.h +++ b/src/openrct2/peep/Peep.h @@ -714,7 +714,7 @@ struct Peep : SpriteBase { money16 paid_to_enter; uint16_t staff_lawns_mown; - uint16_t staff_rides_fixed; + uint16_t StaffRidesFixed; }; union { diff --git a/src/openrct2/peep/Staff.cpp b/src/openrct2/peep/Staff.cpp index 1a57322488..753a8044c3 100644 --- a/src/openrct2/peep/Staff.cpp +++ b/src/openrct2/peep/Staff.cpp @@ -368,7 +368,7 @@ void staff_reset_stats() { peep->time_in_park = gDateMonthsElapsed; peep->staff_lawns_mown = 0; - peep->staff_rides_fixed = 0; + peep->StaffRidesFixed = 0; peep->StaffGardensWatered = 0; peep->StaffRidesInspected = 0; peep->StaffLitterSwept = 0; @@ -2636,7 +2636,7 @@ bool Staff::UpdateFixingFinishFixOrInspect(bool firstRun, int32_t steps, Ride* r return true; } - staff_rides_fixed++; + StaffRidesFixed++; window_invalidate_flags |= RIDE_INVALIDATE_RIDE_INCOME | RIDE_INVALIDATE_RIDE_LIST; sprite_direction = direction << 3;