summaryrefslogtreecommitdiff
path: root/src/core/ao_pyro.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ao_pyro.c')
-rw-r--r--src/core/ao_pyro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ao_pyro.c b/src/core/ao_pyro.c
index 24c9fe99..a260aa99 100644
--- a/src/core/ao_pyro.c
+++ b/src/core/ao_pyro.c
@@ -115,11 +115,11 @@ ao_pyro_ready(struct ao_pyro *pyro)
#if HAS_GYRO
case ao_pyro_orient_less:
- if (ao_orient <= pyro->orient_less)
+ if (ao_sample_orient <= pyro->orient_less)
continue;
break;
case ao_pyro_orient_greater:
- if (ao_orient >= pyro->orient_greater)
+ if (ao_sample_orient >= pyro->orient_greater)
continue;
break;
#endif