Bugfix for index check in Points calculation
This commit is contained in:
1 parent
5cea9e6775
commit
5bc9044d89
1 file changed
+1
-1
@@ -247,7 +247,7 @@ namespace Vocaluxe.Base
|
|||||||
|
|
||||||
CNote[] notes = lines[line].Notes;
|
CNote[] notes = lines[line].Notes;
|
||||||
int note = lines[line].FindPreviousNote(beat);
|
int note = lines[line].FindPreviousNote(beat);
|
||||||
if (notes[note].EndBeat < beat)
|
if (note >= 0 && notes[note].EndBeat < beat)
|
||||||
note = -1;
|
note = -1;
|
||||||
|
|
||||||
if (note >= 0)
|
if (note >= 0)
|
||||||
|
|||||||
Reference in new issue
Block a user