summaryrefslogtreecommitdiffhomepage
path: root/logic/tracker.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-05-16 10:56:18 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-05-16 10:56:18 +0200
commitdb0d8b88fb75462e260f7d2304d91f0d221b603d (patch)
tree95360512499d2789aa15e687333059f0d1c8fc5b /logic/tracker.cpp
parentd4e0a7de8dbaf1c28f9653cea27b23d35b34eef2 (diff)
logic/tracker: remove dead code
Diffstat (limited to 'logic/tracker.cpp')
-rw-r--r--logic/tracker.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/logic/tracker.cpp b/logic/tracker.cpp
index 1002932f..e09000e2 100644
--- a/logic/tracker.cpp
+++ b/logic/tracker.cpp
@@ -304,9 +304,7 @@ void Tracker::logic()
for (int i = 3; i < 6; i++)
value(i) = map(value(i), m(i));
- const bool reltrans = !get(f_tcomp_disabled);
-
- if (s.tcomp_p && reltrans)
+ if (s.tcomp_p)
{
const double tcomp_c[] =
{
@@ -490,6 +488,5 @@ bits::bits() : b(0u)
set(f_center, true);
set(f_enabled, true);
set(f_zero, false);
- set(f_tcomp_disabled, false);
set(f_should_quit, false);
}