mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 12:03:07 +01:00
Rename additional_animation to animation as it makes more sense
Label all vehicle animation types based on loading relevant parks
This commit is contained in:
@@ -381,7 +381,7 @@ void RideObject::ReadLegacyVehicle(IReadObjectContext * context, IStream * strea
|
||||
vehicle->sprite_width = stream->ReadValue<uint8>();
|
||||
vehicle->sprite_height_negative = stream->ReadValue<uint8>();
|
||||
vehicle->sprite_height_positive = stream->ReadValue<uint8>();
|
||||
vehicle->additional_animation = stream->ReadValue<uint8>();
|
||||
vehicle->animation = stream->ReadValue<uint8>();
|
||||
vehicle->flags = stream->ReadValue<uint32>();
|
||||
vehicle->base_num_frames = stream->ReadValue<uint16>();
|
||||
stream->Seek(4, STREAM_SEEK_CURRENT);
|
||||
@@ -475,7 +475,7 @@ uint8 RideObject::CalculateNumVerticalFrames(const rct_ride_entry_vehicle * vehi
|
||||
{
|
||||
if (!(vehicleEntry->flags & VEHICLE_ENTRY_FLAG_SPINNING_ADDITIONAL_FRAMES))
|
||||
{
|
||||
if (vehicleEntry->flags & VEHICLE_ENTRY_FLAG_23 && vehicleEntry->additional_animation != VEHICLE_ENTRY_ADDITIONAL_ANIMATION_6)
|
||||
if (vehicleEntry->flags & VEHICLE_ENTRY_FLAG_23 && vehicleEntry->animation != VEHICLE_ENTRY_ANIMATION_OBSERVATION_TOWER)
|
||||
{
|
||||
if (!(vehicleEntry->flags & VEHICLE_ENTRY_FLAG_DODGEM_INUSE_LIGHTS))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user