1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 17:24:47 +01:00

Remove seat rotation from RCT1 vehicle struct

This commit is contained in:
Ted John
2017-01-06 21:53:46 +00:00
parent f52286a442
commit 390a03a540
2 changed files with 4 additions and 4 deletions

View File

@@ -328,8 +328,6 @@ typedef struct rct1_vehicle {
uint8 mini_golf_flags; // 0xD5
uint8 ride_subtype; // 0xD6
uint8 colours_extended; // 0xD7
uint8 seat_rotation; // 0xD8
uint8 target_seat_rotation; // 0xD9
} rct1_vehicle;
typedef struct rct1_peep {

View File

@@ -893,8 +893,10 @@ private:
dst->scream_sound_id = 255;
dst->vehicle_sprite_type = 0;
dst->bank_rotation = src->bank_rotation;
dst->target_seat_rotation = src->target_seat_rotation;
dst->seat_rotation = src->seat_rotation;
// Seat rotation was not in RCT1
dst->target_seat_rotation = 4;
dst->seat_rotation = 4;
// Vehicle links (indexes converted later)
dst->prev_vehicle_on_ride = src->prev_vehicle_on_ride;