mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 09:14:58 +01:00
@@ -71,6 +71,7 @@ public:
|
||||
MarketingCampaign campaign{};
|
||||
campaign.Type = _type;
|
||||
campaign.WeeksLeft = _numWeeks;
|
||||
campaign.Flags = MarketingCampaignFlags::FIRST_WEEK;
|
||||
if (campaign.Type == ADVERTISING_CAMPAIGN_RIDE_FREE || campaign.Type == ADVERTISING_CAMPAIGN_RIDE)
|
||||
{
|
||||
campaign.RideId = _item;
|
||||
|
||||
@@ -794,7 +794,7 @@ void S6Exporter::ExportMarketingCampaigns()
|
||||
std::memset(_s6.campaign_ride_index, 0, sizeof(_s6.campaign_ride_index));
|
||||
for (const auto& campaign : gMarketingCampaigns)
|
||||
{
|
||||
_s6.campaign_weeks_left[campaign.Type] = campaign.WeeksLeft;
|
||||
_s6.campaign_weeks_left[campaign.Type] = campaign.WeeksLeft | CAMPAIGN_ACTIVE_FLAG;
|
||||
if (campaign.Type == ADVERTISING_CAMPAIGN_RIDE_FREE || campaign.Type == ADVERTISING_CAMPAIGN_RIDE)
|
||||
{
|
||||
_s6.campaign_ride_index[campaign.Type] = campaign.RideId;
|
||||
|
||||
Reference in New Issue
Block a user