diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index 2f3d75e9a..5354de1a7 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -1829,19 +1829,24 @@ void DivEngine::deepCloneOrder(bool where) { warnings=""; isBusy.lock(); for (int i=0; idata,oldPat->data,256*32*sizeof(short)); + logD("found at %d\n",j); + didNotFind=false; break; } } - if (order[i]==song.orders.ord[i][curOrder]) { + if (didNotFind) { addWarning(fmt::sprintf("no free patterns in channel %d!",i)); } }