aboutsummaryrefslogtreecommitdiff
path: root/src/text_file_functions.cpp
diff options
context:
space:
mode:
authorCrystalwarrior <Varsash@Gmail.com>2022-03-19 23:31:38 +0300
committerGitHub <noreply@github.com>2022-03-19 15:31:38 -0500
commitdf1c8ccd8341b521fba63ed397646d9055854454 (patch)
tree27861683e8ac3e6e1e524a887479a7cc79b57892 /src/text_file_functions.cpp
parentfa6eef8eba7b085526b6f0f3f6349531ec0727f4 (diff)
Add blip rate of 0 which only plays a single blip sound per message (#659)
* Add blip rate of 0 which only plays a single blip sound per message * don't have copy-pasted code I GUESS
Diffstat (limited to 'src/text_file_functions.cpp')
-rw-r--r--src/text_file_functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp
index a0caf9b8..e3a285d4 100644
--- a/src/text_file_functions.cpp
+++ b/src/text_file_functions.cpp
@@ -10,8 +10,8 @@ int AOApplication::read_blip_rate()
{
int result = configini->value("blip_rate", 2).toInt();
- if (result < 1)
- return 1;
+ if (result < 0)
+ return 0;
return result;
}