summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2020-04-30 20:47:04 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2020-04-30 20:47:04 +0200
commit224c50a694b831a6fe8f901d988f5156385716dc (patch)
treed9921c3b308fb2b914c570c2286cb5bd0339f1c5
parent02ffd5a39bf36fb0fa4a4c068734747185fafcfa (diff)
Change the order of filters, making powermap first.
-rw-r--r--src/inputprocessor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputprocessor.cc b/src/inputprocessor.cc
index ea4917e..b03dda8 100644
--- a/src/inputprocessor.cc
+++ b/src/inputprocessor.cc
@@ -48,10 +48,10 @@ InputProcessor::InputProcessor(Settings& settings,
, settings(settings)
{
// Build filter list
+ filters.emplace_back(std::make_unique<PowermapFilter>(settings));
filters.emplace_back(std::make_unique<StaminaFilter>(settings));
filters.emplace_back(std::make_unique<LatencyFilter>(settings, random));
filters.emplace_back(std::make_unique<VelocityFilter>(settings, random));
- filters.emplace_back(std::make_unique<PowermapFilter>(settings));
}
bool InputProcessor::process(std::vector<event_t>& events,