mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix indentation
This commit is contained in:
parent
4089538c78
commit
9c7de18292
|
@ -2978,7 +2978,7 @@ vehicle_colour ride_get_vehicle_colour(rct_ride *ride, int vehicleIndex)
|
||||||
{
|
{
|
||||||
vehicle_colour result;
|
vehicle_colour result;
|
||||||
//Prevent indexing array out of bounds
|
//Prevent indexing array out of bounds
|
||||||
if(vehicleIndex>31) {
|
if(vehicleIndex > 31) {
|
||||||
vehicleIndex=31;
|
vehicleIndex=31;
|
||||||
}
|
}
|
||||||
result.main = ride->vehicle_colours[vehicleIndex].body_colour;
|
result.main = ride->vehicle_colours[vehicleIndex].body_colour;
|
||||||
|
|
Loading…
Reference in New Issue