diff --git a/src/openrct2/peep/Peep.h b/src/openrct2/peep/Peep.h index 3a4a446898..2d07b5847c 100644 --- a/src/openrct2/peep/Peep.h +++ b/src/openrct2/peep/Peep.h @@ -485,12 +485,19 @@ enum PeepRideDecision PEEP_RIDE_DECISION_THINKING = 1 << 2, }; +static constexpr uint16_t PeepThoughtItemNone = std::numeric_limits::max(); + struct PeepThought { - PeepThoughtType type; // 0 - uint8_t item; // 1 - uint8_t freshness; // 2 larger is less fresh - uint8_t fresh_timeout; // 3 updates every tick + PeepThoughtType type; + union + { + ride_id_t rideId; + ShopItem shopItem; + uint16_t item; + }; + uint8_t freshness; // larger is less fresh + uint8_t fresh_timeout; // updates every tick }; struct Guest;