From 96bcfb2329bb262d8f71e81b0e75a14d0c7c288e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20=E2=80=9ELama=E2=80=9C=20Fath?= Date: Wed, 15 Oct 2025 14:27:20 +0200 Subject: [PATCH] #17 NoiseBox copy/paste error fixes suspected copy paste issue in NoiseBox 'mulcount' is now compared to 'mulperiod' --- NativeCode/Plugin_NoiseBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NativeCode/Plugin_NoiseBox.cpp b/NativeCode/Plugin_NoiseBox.cpp index fe1d38c..aebd6cc 100644 --- a/NativeCode/Plugin_NoiseBox.cpp +++ b/NativeCode/Plugin_NoiseBox.cpp @@ -107,7 +107,7 @@ namespace NoiseBox { data->addcount -= addperiod; data->addnoise = data->random.GetFloat(-1.0, 1.0f); } - data->mulcount += 1.0f; if (data->mulcount >= addperiod) + data->mulcount += 1.0f; if (data->mulcount >= mulperiod) { data->mulcount -= mulperiod; data->mulnoise = data->random.GetFloat(0.0, 1.0f); }