mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 22:34:33 +01:00
Fix indentation
This commit is contained in:
committed by
Michał Janiszewski
parent
4089538c78
commit
9c7de18292
@@ -2978,7 +2978,7 @@ vehicle_colour ride_get_vehicle_colour(rct_ride *ride, int vehicleIndex)
|
||||
{
|
||||
vehicle_colour result;
|
||||
//Prevent indexing array out of bounds
|
||||
if(vehicleIndex>31) {
|
||||
if(vehicleIndex > 31) {
|
||||
vehicleIndex=31;
|
||||
}
|
||||
result.main = ride->vehicle_colours[vehicleIndex].body_colour;
|
||||
|
||||
Reference in New Issue
Block a user