1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00

Rename more instances of “vehicle” to “train”

This commit is contained in:
Michael Steenbeek
2022-09-22 11:22:18 +02:00
committed by GitHub
parent 0c2bc3c335
commit 31e2d7692c
19 changed files with 91 additions and 92 deletions

View File

@@ -273,7 +273,7 @@ static int32_t cc_rides(InteractiveConsole& console, const arguments_t& argv)
}
else
{
for (int32_t i = 0; i < ride->num_vehicles; ++i)
for (int32_t i = 0; i < ride->NumTrains; ++i)
{
for (Vehicle* vehicle = GetEntity<Vehicle>(ride->vehicles[i]); vehicle != nullptr;
vehicle = GetEntity<Vehicle>(vehicle->next_vehicle_on_train))