1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +01:00

Rename Peep::staff_rides_fixed to StaffRidesFixed

This commit is contained in:
Tulio Leao
2020-05-30 19:42:13 -03:00
parent 3f091d33e2
commit 133ff992b6
3 changed files with 4 additions and 4 deletions

View File

@@ -1127,7 +1127,7 @@ void window_staff_stats_paint(rct_window* w, rct_drawpixelinfo* dpi)
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);
dpi, STR_STAFF_STAT_RIDES_FIXED, static_cast<void*>(&peep->StaffRidesFixed), COLOUR_BLACK, x, y);
break;
}
}

View File

@@ -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
{

View File

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