aboutsummaryrefslogtreecommitdiff
path: root/src/aoblipplayer.cpp
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2020-09-11 23:38:36 +0300
committerCrystalwarrior <varsash@gmail.com>2020-09-11 23:38:36 +0300
commitd00d0769a9bf325df5bb25d7a7a4bd376b539b3c (patch)
treefe74166b82030106f792251852c3255f5be4a564 /src/aoblipplayer.cpp
parent8cc067dee42ede24614f1a7bccef7f8752f56a01 (diff)
Lots of blip rate fixes:
Remove qElapsedTimer method of blip earrape protection due to major inconsistency issues with this method (the same message would produce wildly different blip sounds - consistency is preferred) More sophisticated blip earrape prevention is calculated in the chat ticker function itself, it also properly adjusts itself depending on the blip_rate used.
Diffstat (limited to 'src/aoblipplayer.cpp')
-rw-r--r--src/aoblipplayer.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/aoblipplayer.cpp b/src/aoblipplayer.cpp
index 5b4d625c..6607d463 100644
--- a/src/aoblipplayer.cpp
+++ b/src/aoblipplayer.cpp
@@ -26,10 +26,6 @@ void AOBlipPlayer::set_blips(QString p_sfx)
void AOBlipPlayer::blip_tick()
{
- if (delay.isValid() && delay.elapsed() < max_blip_ms)
- return;
-
- delay.start();
int f_cycle = m_cycle++;
if (m_cycle == 5)