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

Rename Peep::current_ride to CurrentRide

This commit is contained in:
Tulio Leao
2020-06-07 22:21:53 -03:00
parent c302b16386
commit ccd76f8fc4
16 changed files with 88 additions and 88 deletions

View File

@@ -452,7 +452,7 @@ void game_fix_save_vars()
if (peep->CurrentRideStation >= MAX_STATIONS)
{
const uint8_t srcStation = peep->CurrentRideStation;
const uint8_t rideIdx = peep->current_ride;
const uint8_t rideIdx = peep->CurrentRide;
if (rideIdx == RIDE_ID_NULL)
{
continue;
@@ -461,7 +461,7 @@ void game_fix_save_vars()
if (ride == nullptr)
{
log_warning("Couldn't find ride %u, resetting ride on peep %u", rideIdx, spriteIndex);
peep->current_ride = RIDE_ID_NULL;
peep->CurrentRide = RIDE_ID_NULL;
continue;
}
auto ft = Formatter::Common();