1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 08:45:00 +01:00

Rename Peep::current_train to use TitleCase

This commit is contained in:
Tulio Leao
2020-06-07 22:10:09 -03:00
parent 335cbc900e
commit 1ac3b3d2dc
9 changed files with 19 additions and 19 deletions

View File

@@ -692,7 +692,7 @@ viewport_focus viewport_update_smart_guest_follow(rct_window* window, Peep* peep
auto ride = get_ride(peep->current_ride);
if (ride != nullptr && (ride->lifecycle_flags & RIDE_LIFECYCLE_ON_TRACK))
{
auto train = GET_VEHICLE(ride->vehicles[peep->current_train]);
auto train = GET_VEHICLE(ride->vehicles[peep->CurrentTrain]);
if (train != nullptr)
{
auto car = train->GetCar(peep->CurrentCar);