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:
committed by
GitHub
parent
0c2bc3c335
commit
31e2d7692c
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user