mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Fix Syntax of EditorObjectSelectionSession.cpp and Marketing.cpp (#20699)
Minor changes in Syntax of two files' annotations. Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
This commit is contained in:
@@ -46,9 +46,7 @@ static void SelectDesignerObjects();
|
||||
static void ReplaceSelectedWaterPalette(const ObjectRepositoryItem* item);
|
||||
|
||||
/**
|
||||
* Master objects are objects that are not
|
||||
* optional / required dependants of an
|
||||
* object.
|
||||
* Master objects are objects that are not optional / required dependants of an object.
|
||||
*/
|
||||
static constexpr ResultWithMessage ObjectSelectionError(bool isMasterObject, StringId message)
|
||||
{
|
||||
|
||||
@@ -93,7 +93,7 @@ static void MarketingRaiseFinishedNotification(const MarketingCampaign& campaign
|
||||
}
|
||||
|
||||
/**
|
||||
* Update status of marketing campaigns and send produce a news item when they have finished.
|
||||
* Update status of marketing campaigns and produce a news item when they have finished.
|
||||
* rct2: 0x0069E0C1
|
||||
*/
|
||||
void MarketingUpdate()
|
||||
@@ -231,7 +231,7 @@ MarketingCampaign* MarketingGetCampaign(int32_t campaignType)
|
||||
|
||||
void MarketingNewCampaign(const MarketingCampaign& campaign)
|
||||
{
|
||||
// Do not allow same campaign twice, just overwrite
|
||||
// Do not allow the same campaign twice, just overwrite
|
||||
auto currentCampaign = MarketingGetCampaign(campaign.Type);
|
||||
if (currentCampaign != nullptr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user