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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user