Skip to content

Add blip rate of 0 which only plays a single blip sound per message - #659

Merged
oldmud0 merged 2 commits into
masterfrom
blip-rate-0
Mar 19, 2022
Merged

Add blip rate of 0 which only plays a single blip sound per message#659
oldmud0 merged 2 commits into
masterfrom
blip-rate-0

Conversation

@Crystalwarrior

Copy link
Copy Markdown
Contributor

Closes #637

Comment thread src/courtroom.cpp Outdated
@Crystalwarrior
Crystalwarrior requested a review from oldmud0 March 13, 2022 15:49

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

Comment on lines +13 to +14
if (result < 0)
return 0;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: statement should be inside braces [readability-braces-around-statements]

Suggested change
if (result < 0)
return 0;
if (result < 0) {
return 0;
}

@oldmud0 oldmud0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice you brought the diff down to like 6 lines

@oldmud0
oldmud0 merged commit df1c8cc into master Mar 19, 2022
@in1tiate
in1tiate deleted the blip-rate-0 branch July 18, 2022 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Single-blip blip rate

2 participants