Add thought insertion overload with strong ride id type

This commit is contained in:
ζeh Matt 2021-09-04 18:37:49 +03:00
parent 078d12a207
commit e1e29379ba
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0
2 changed files with 5 additions and 0 deletions

View File

@ -6811,6 +6811,10 @@ void Guest::InsertNewThought(PeepThoughtType thought_type, ShopItem shopItem)
InsertNewThought(thought_type, static_cast<uint16_t>(shopItem));
}
void Guest::InsertNewThought(PeepThoughtType thought_type, ride_id_t ride)
{
InsertNewThought(thought_type, static_cast<uint16_t>(ride));
}
/**
*
* rct2: 0x699F5A

View File

@ -774,6 +774,7 @@ public:
void UpdateEasterEggInteractions();
void InsertNewThought(PeepThoughtType thought_type);
void InsertNewThought(PeepThoughtType thought_type, ShopItem thought_arguments);
void InsertNewThought(PeepThoughtType thought_type, ride_id_t ride);
void InsertNewThought(PeepThoughtType thought_type, uint16_t thought_arguments);
static Guest* Generate(const CoordsXYZ& coords);
bool UpdateQueuePosition(PeepActionType previous_action);