https://github.com/milkytracker/MilkyTracker/pull/319 -- diff --git a/src/milkyplay/PlayerBase.h b/src/milkyplay/PlayerBase.h index 18bcc74..6dc123c 100644 --- a/src/milkyplay/PlayerBase.h +++ b/src/milkyplay/PlayerBase.h @@ -117,3 +117,3 @@ private: (speed << BITPOS_SPEED)), - mainVolumeTicker((mainVol << BITPOS_MAINVOL) + + mainVolumeTicker(mainVol + (ticker << BITPOS_TICKER)) @@ -174,3 +174,3 @@ protected: mp_sint32 bpm; // BPM speed - mp_sint32 ticker; // runs from 0 to tickspeed-1 + mp_sint32 ticker = 0; // runs from 0 to tickspeed-1