Skip to content

Commit

Permalink
Merge pull request #898 from s09bQ5/fixmipmaplevel
Browse files Browse the repository at this point in the history
UMusic: Consider line duration 0 as no duration
  • Loading branch information
bohning committed Sep 11, 2024
2 parents 12448ee + ed67553 commit e1bcb4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/UMusic.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1280,8 +1280,8 @@ function TLine.HasLength(out Len: integer): boolean;
Result := false;
if Length(Notes) >= 0 then
begin
Result := true;
Len := EndBeat - Notes[0].StartBeat;
Result := (Len > 0);
end;
end;

Expand Down

0 comments on commit e1bcb4b

Please sign in to comment.