From 28466635330be1d6fc1768edf315c0f0dff649de Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Tue, 27 Oct 2020 22:31:28 +0100 Subject: [PATCH] Use ride_id_t for remaining peep ride fields --- src/openrct2/peep/Peep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2/peep/Peep.h b/src/openrct2/peep/Peep.h index 5426bbdc65..8db7170eb5 100644 --- a/src/openrct2/peep/Peep.h +++ b/src/openrct2/peep/Peep.h @@ -699,7 +699,7 @@ struct Peep : SpriteBase uint8_t MazeLastEdge; Direction PeepDirection; // Direction ? }; - uint8_t InteractionRideIndex; + ride_id_t InteractionRideIndex; uint16_t TimeInQueue; uint8_t RidesBeenOn[32]; // 255 bit bitmap of every ride the peep has been on see @@ -713,7 +713,7 @@ struct Peep : SpriteBase int32_t HireDate; }; int8_t RejoinQueueTimeout; // whilst waiting for a free vehicle (or pair) in the entrance - uint8_t PreviousRide; + ride_id_t PreviousRide; uint16_t PreviousRideTimeOut; rct_peep_thought Thoughts[PEEP_MAX_THOUGHTS]; uint8_t PathCheckOptimisation; // see peep.checkForPath