Fix formatting and comment

This commit is contained in:
duncanspumpkin committed 2020-07-04 07:38:11 +01:00
1 parent e51bbeed23
commit 64ab101b4e
2 files changed
+3 -2

No files matched your search

+2 -1
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;
+1 -1
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;