From b26208f2c108ad39d01483df3d32cee6bcae0b0b Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 13 Jan 2022 20:54:34 -0500 Subject: [PATCH] fix changing order if 0Bxx is present --- src/engine/playback.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/engine/playback.cpp b/src/engine/playback.cpp index 8ce34c32d..0ae7fe6ed 100644 --- a/src/engine/playback.cpp +++ b/src/engine/playback.cpp @@ -683,9 +683,6 @@ void DivEngine::nextRow() { processRow(i,false); } - if (++curRow>=song.patLen) { - nextOrder(); - } if (changeOrd!=-1) { if (repeatPattern) { curRow=0; @@ -701,6 +698,8 @@ void DivEngine::nextRow() { } changeOrd=-1; } + } else if (++curRow>=song.patLen) { + nextOrder(); } if (speedAB) {