Change cur_row to actually mean current row
It used to really mean "next row", and resulted in showing the wrong row in the pattern view (row -1 instead of the last row). Fixes #14.
This commit is contained in:
parent
215f72c19d
commit
e347807abf
5 changed files with 12 additions and 12 deletions
|
|
@ -121,7 +121,7 @@ function eff_t0_d(ch, data) { // pattern jump
|
|||
if (player.cur_songpos >= player.xm.songpats.length)
|
||||
player.cur_songpos = player.xm.song_looppos;
|
||||
player.cur_pat = player.xm.songpats[player.cur_songpos];
|
||||
player.cur_row = data;
|
||||
player.cur_row = data - 1;
|
||||
}
|
||||
|
||||
function eff_t0_e(ch, data) { // extended effects!
|
||||
|
|
|
|||
Loading…
Reference in a new issue