mirror of https://github.com/OpenRCT2/OpenRCT2.git
Correct spelling of 'block brakes', use constant
This commit is contained in:
parent
5424e7774c
commit
8f81485c46
|
@ -1275,7 +1275,7 @@ static money32 track_place(sint32 rideIndex, sint32 type, sint32 originX, sint32
|
|||
ride->cable_lift_y = y;
|
||||
ride->cable_lift_z = baseZ;
|
||||
break;
|
||||
case 0xD8:
|
||||
case TRACK_ELEM_BLOCK_BRAKES:
|
||||
ride->num_block_brakes++;
|
||||
ride->window_invalidate_flags |= RIDE_INVALIDATE_RIDE_OPERATING;
|
||||
ride->mode = RIDE_MODE_CONTINUOUS_CIRCUIT_BLOCK_SECTIONED;
|
||||
|
|
|
@ -5987,7 +5987,7 @@ static void update_velocity(rct_vehicle *vehicle)
|
|||
_vehicleVelocityF64E0C = (nextVelocity >> 10) * 42;
|
||||
}
|
||||
|
||||
static void vehicle_update_block_breaks_open_previous_section(rct_vehicle *vehicle, rct_map_element *mapElement)
|
||||
static void vehicle_update_block_brakes_open_previous_section(rct_vehicle *vehicle, rct_map_element *mapElement)
|
||||
{
|
||||
sint32 x = vehicle->track_x;
|
||||
sint32 y = vehicle->track_y;
|
||||
|
@ -7325,7 +7325,7 @@ static bool vehicle_update_track_motion_forwards_get_new_track(rct_vehicle *vehi
|
|||
}
|
||||
}
|
||||
map_invalidate_element(vehicle->track_x, vehicle->track_z, mapElement);
|
||||
vehicle_update_block_breaks_open_previous_section(vehicle, mapElement);
|
||||
vehicle_update_block_brakes_open_previous_section(vehicle, mapElement);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue