diff --git a/src/openrct2-ui/windows/Staff.cpp b/src/openrct2-ui/windows/Staff.cpp index 34c30fe89a..0c425aa8cc 100644 --- a/src/openrct2-ui/windows/Staff.cpp +++ b/src/openrct2-ui/windows/Staff.cpp @@ -1114,7 +1114,7 @@ void window_staff_stats_paint(rct_window* w, rct_drawpixelinfo* dpi) dpi, STR_STAFF_STAT_LAWNS_MOWN, static_cast(&peep->staff_lawns_mown), COLOUR_BLACK, x, y); y += LIST_ROW_HEIGHT; gfx_draw_string_left( - dpi, STR_STAFF_STAT_GARDENS_WATERED, static_cast(&peep->staff_gardens_watered), COLOUR_BLACK, x, y); + dpi, STR_STAFF_STAT_GARDENS_WATERED, static_cast(&peep->StaffGardensWatered), COLOUR_BLACK, x, y); y += LIST_ROW_HEIGHT; gfx_draw_string_left( dpi, STR_STAFF_STAT_LITTER_SWEPT, static_cast(&peep->StaffLitterSwept), COLOUR_BLACK, x, y); diff --git a/src/openrct2/peep/Peep.h b/src/openrct2/peep/Peep.h index 313cda69cb..5fceb4ab03 100644 --- a/src/openrct2/peep/Peep.h +++ b/src/openrct2/peep/Peep.h @@ -719,7 +719,7 @@ struct Peep : SpriteBase union { money16 paid_on_rides; - uint16_t staff_gardens_watered; + uint16_t StaffGardensWatered; uint16_t StaffRidesInspected; }; union diff --git a/src/openrct2/peep/Staff.cpp b/src/openrct2/peep/Staff.cpp index 494cb72c96..1a57322488 100644 --- a/src/openrct2/peep/Staff.cpp +++ b/src/openrct2/peep/Staff.cpp @@ -369,7 +369,7 @@ void staff_reset_stats() peep->time_in_park = gDateMonthsElapsed; peep->staff_lawns_mown = 0; peep->staff_rides_fixed = 0; - peep->staff_gardens_watered = 0; + peep->StaffGardensWatered = 0; peep->StaffRidesInspected = 0; peep->StaffLitterSwept = 0; peep->StaffBinsEmptied = 0; @@ -1291,7 +1291,7 @@ void Staff::UpdateWatering() tile_element->AsSmallScenery()->SetAge(0); map_invalidate_tile_zoom0({ actionLoc, tile_element->GetBaseZ(), tile_element->GetClearanceZ() }); - staff_gardens_watered++; + StaffGardensWatered++; window_invalidate_flags |= PEEP_INVALIDATE_STAFF_STATS; } while (!(tile_element++)->IsLastForTile());