summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--logic/pipeline.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp
index 809a8ce8..1bd5c736 100644
--- a/logic/pipeline.cpp
+++ b/logic/pipeline.cpp
@@ -604,7 +604,10 @@ void pipeline::set_center(bool x) { b.set(f_center, x); }
void pipeline::set_held_center(bool value)
{
- b.set(f_held_center, value);
+ if (value)
+ b.set(f_held_center | f_center, true);
+ else
+ b.set(f_held_center, false);
}
void pipeline::set_enabled(bool value) { b.set(f_enabled_h, value); }