summaryrefslogtreecommitdiff
path: root/src/inputprocessor.cc
diff options
context:
space:
mode:
authorAndré Nusser <anusser@mpi-inf.mpg.de>2021-02-13 13:17:39 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2024-07-22 11:26:42 +0200
commitb5f155ee26df89e7447735e37d1f9c7ffd877843 (patch)
treece9d1903e961785c6093c1eeec37d5006567efc9 /src/inputprocessor.cc
parent39e841af517c0c82a54702eeafb7651e03260601 (diff)
Add position filter.
Diffstat (limited to 'src/inputprocessor.cc')
-rw-r--r--src/inputprocessor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inputprocessor.cc b/src/inputprocessor.cc
index deae8ad..fa3498c 100644
--- a/src/inputprocessor.cc
+++ b/src/inputprocessor.cc
@@ -36,6 +36,7 @@
#include "powermapfilter.h"
#include "staminafilter.h"
#include "velocityfilter.h"
+#include "positionfilter.h"
#include "cpp11fix.h"
@@ -93,6 +94,7 @@ InputProcessor::InputProcessor(Settings& 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<PositionFilter>(settings, random));
filters.emplace_back(std::make_unique<Reporter>(settings, original_velocity));
}