diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index 8e88df545..2709cf823 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -4889,11 +4889,11 @@ void DivEngine::playSub(bool preserveDrift, int goalRow) { speedAB=false; playing=true; for (int i=0; isetSkipRegisterWrites(true); - while (curOrder=song.patLen) { + } else if (playing) if (++curRow>=song.patLen) { nextOrder(); if (haltOn==DIV_HALT_PATTERN) halted=true; }