Use ride_id_t for remaining peep ride fields

This commit is contained in:
Gymnasiast 2020-10-27 22:31:28 +01:00
parent a3aef90637
commit 2846663533
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
1 changed files with 2 additions and 2 deletions

View File

@ -699,7 +699,7 @@ struct Peep : SpriteBase
uint8_t MazeLastEdge; uint8_t MazeLastEdge;
Direction PeepDirection; // Direction ? Direction PeepDirection; // Direction ?
}; };
uint8_t InteractionRideIndex; ride_id_t InteractionRideIndex;
uint16_t TimeInQueue; uint16_t TimeInQueue;
uint8_t RidesBeenOn[32]; uint8_t RidesBeenOn[32];
// 255 bit bitmap of every ride the peep has been on see // 255 bit bitmap of every ride the peep has been on see
@ -713,7 +713,7 @@ struct Peep : SpriteBase
int32_t HireDate; int32_t HireDate;
}; };
int8_t RejoinQueueTimeout; // whilst waiting for a free vehicle (or pair) in the entrance int8_t RejoinQueueTimeout; // whilst waiting for a free vehicle (or pair) in the entrance
uint8_t PreviousRide; ride_id_t PreviousRide;
uint16_t PreviousRideTimeOut; uint16_t PreviousRideTimeOut;
rct_peep_thought Thoughts[PEEP_MAX_THOUGHTS]; rct_peep_thought Thoughts[PEEP_MAX_THOUGHTS];
uint8_t PathCheckOptimisation; // see peep.checkForPath uint8_t PathCheckOptimisation; // see peep.checkForPath