fix song playing from begin if stopped on last row

This commit is contained in:
tildearrow 2022-06-20 22:14:16 -05:00
parent af4a359801
commit e3686c2e34
1 changed files with 3 additions and 0 deletions

View File

@ -1431,7 +1431,10 @@ void DivEngine::stop() {
freelance=false; freelance=false;
playing=false; playing=false;
extValuePresent=false; extValuePresent=false;
endOfSong=false; // what?
stepPlay=0; stepPlay=0;
curOrder=prevOrder;
curRow=prevRow;
remainingLoops=-1; remainingLoops=-1;
sPreview.sample=-1; sPreview.sample=-1;
sPreview.wave=-1; sPreview.wave=-1;