mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 11:33:03 +01:00
Fix formatting and comment
This commit is contained in:
@@ -23,7 +23,8 @@
|
||||
Vehicle* cable_lift_segment_create(
|
||||
Ride& ride, int32_t x, int32_t y, int32_t z, int32_t direction, uint16_t var_44, int32_t remaining_distance, bool head)
|
||||
{
|
||||
Vehicle* current = &(create_sprite(SPRITE_IDENTIFIER_VEHICLE, head ? EntityListId::TrainHead : EntityListId::Vehicle)->vehicle);
|
||||
Vehicle* current = &(
|
||||
create_sprite(SPRITE_IDENTIFIER_VEHICLE, head ? EntityListId::TrainHead : EntityListId::Vehicle)->vehicle);
|
||||
current->sprite_identifier = SPRITE_IDENTIFIER_VEHICLE;
|
||||
current->ride = ride.id;
|
||||
current->ride_subtype = RIDE_ENTRY_INDEX_NULL;
|
||||
|
||||
@@ -12,7 +12,7 @@ struct SpriteBase
|
||||
uint16_t next_in_quadrant;
|
||||
uint16_t next;
|
||||
uint16_t previous;
|
||||
// Valid values are SPRITE_LINKEDLIST_OFFSET_...
|
||||
// Valid values are EntityListId::...
|
||||
EntityListId linked_list_index;
|
||||
// Height from centre of sprite to bottom
|
||||
uint8_t sprite_height_negative;
|
||||
|
||||
Reference in New Issue
Block a user