1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Rename Peep::staff_gardens_watered to StaffGardensWatered

This commit is contained in:
Tulio Leao
2020-05-30 19:39:21 -03:00
parent 6b56a353f9
commit 719607f876
3 changed files with 4 additions and 4 deletions

View File

@@ -1114,7 +1114,7 @@ void window_staff_stats_paint(rct_window* w, rct_drawpixelinfo* dpi)
dpi, STR_STAFF_STAT_LAWNS_MOWN, static_cast<void*>(&peep->staff_lawns_mown), COLOUR_BLACK, x, y);
y += LIST_ROW_HEIGHT;
gfx_draw_string_left(
dpi, STR_STAFF_STAT_GARDENS_WATERED, static_cast<void*>(&peep->staff_gardens_watered), COLOUR_BLACK, x, y);
dpi, STR_STAFF_STAT_GARDENS_WATERED, static_cast<void*>(&peep->StaffGardensWatered), COLOUR_BLACK, x, y);
y += LIST_ROW_HEIGHT;
gfx_draw_string_left(
dpi, STR_STAFF_STAT_LITTER_SWEPT, static_cast<void*>(&peep->StaffLitterSwept), COLOUR_BLACK, x, y);

View File

@@ -719,7 +719,7 @@ struct Peep : SpriteBase
union
{
money16 paid_on_rides;
uint16_t staff_gardens_watered;
uint16_t StaffGardensWatered;
uint16_t StaffRidesInspected;
};
union

View File

@@ -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());