diff --git a/extensions/src/ACRE2Core/AcreDsp.cpp b/extensions/src/ACRE2Core/AcreDsp.cpp index 5c0b11c3c..686cf339e 100644 --- a/extensions/src/ACRE2Core/AcreDsp.cpp +++ b/extensions/src/ACRE2Core/AcreDsp.cpp @@ -21,7 +21,7 @@ namespace Dsp { if (divisor < 5) divisor = 5; for (int i = 0; i < count; i += divisor) { - for (int x = 1; x < divisor && i + value < count; x++) { + for (int x = 1; x < divisor && i + x < count; x++) { samples[i + x] = samples[i]; } }