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:
Andy Sloane 2015-11-16 18:59:46 -08:00
commit e347807abf
5 changed files with 12 additions and 12 deletions

View file

@ -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!