summaryrefslogtreecommitdiff
path: root/src/staminafilter.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-07-15 20:35:52 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-07-15 20:41:10 +0200
commita0484778a9953dfd1948bf4dac71c51deab18cab (patch)
tree15b9ff0c0b745b0efb02375d285ade09bbdf0f18 /src/staminafilter.cc
parent34578fdef6a9f77aa285501130be55fcd560c03d (diff)
Revorked visualiser UI and a few more parameter tweaks.
Diffstat (limited to 'src/staminafilter.cc')
-rw-r--r--src/staminafilter.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/staminafilter.cc b/src/staminafilter.cc
index 8fdbfbb..a8f6a86 100644
--- a/src/staminafilter.cc
+++ b/src/staminafilter.cc
@@ -76,16 +76,5 @@ bool StaminaFilter::filter(event_t& event, size_t pos)
mod *= velocity_modifier_weight;
}
- {
- auto velocity_modifier_current = settings.velocity_modifier_current.load();
- float p = 0.9f;
- float new_value = mod * p + velocity_modifier_current * (1.0f - p);
- if(mod > new_value)
- {
- new_value = mod;
- }
- settings.velocity_modifier_current.store(new_value);
- }
-
return true;
}