1
0
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:
duncanspumpkin
2020-06-20 07:38:20 +01:00
parent e51bbeed23
commit 64ab101b4e
2 changed files with 3 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;