XM import: lock the dead

This commit is contained in:
tildearrow 2024-07-14 03:59:08 -05:00
parent f6621a2d5f
commit 4446ffe06d

View file

@ -88,7 +88,7 @@ void readEnvelope(DivInstrument* ins, int env, unsigned char flags, unsigned cha
}
if ((point+1)>=numPoints) {
target->len=i-1;
if ((flags&4) && (!(flags&2))) {
if (((flags&4) && (!(flags&2))) || ((flags&6)==0)) {
target->rel=i-2;
}
//target->val[i]=p0;