fix volume macro + vol change on delay

issue #946
This commit is contained in:
tildearrow 2023-01-28 17:47:21 -05:00
parent 4445103408
commit dcf06445ba

View file

@ -56,7 +56,7 @@ void DivMacroStruct::doMacro(DivInstrumentMacro& source, bool released, bool tic
}
if (delay>0) {
delay--;
had=false;
if (!linger) had=false;
return;
}
if (began && source.delay>0) {
@ -523,4 +523,4 @@ DivMacroStruct* DivMacroInt::structByName(const String& name) {
return NULL;
}
#undef CONSIDER
#undef CONSIDER