Skip to content

Commit

Permalink
Fix Syntax of EditorObjectSelectionSession.cpp and Marketing.cpp (Ope…
Browse files Browse the repository at this point in the history
…nRCT2#20699)

Minor changes in Syntax of two files' annotations.

Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
  • Loading branch information
733737 and Broxzier authored Aug 13, 2023
1 parent ed32fd2 commit fa3339b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/openrct2/EditorObjectSelectionSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
4 changes: 2 additions & 2 deletions src/openrct2/management/Marketing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit fa3339b

Please sign in to comment.