mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #9411: Ad campaigns end too soon
This commit is contained in:
parent
3933e2ffc6
commit
72c4baebda
|
@ -56,6 +56,7 @@
|
|||
- Fix: [#9293] Issue with the native load/save dialog.
|
||||
- Fix: [#9322] Peep crashing the game trying to find a ride to look at.
|
||||
- Fix: [#9402] Ad campaigns disappear when you save and load the game.
|
||||
- Fix: [#9411] Ad campaigns end too soon.
|
||||
- Fix: Guests eating popcorn are drawn as if they're eating pizza.
|
||||
- Fix: The arbitrary ride type and vehicle dropdown lists are ordered case-sensitively.
|
||||
- Improved: [#6116] Expose colour scheme for track elements in the tile inspector.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue