Skip to content

Commit

Permalink
remove fatal log entry when bpm is not zero
Browse files Browse the repository at this point in the history
  • Loading branch information
niet-dev committed Mar 8, 2024
1 parent 555225c commit ccee0ad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Etterna/Models/Misc/TimingData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1409,8 +1409,6 @@ TimingData::BuildAndGetEtaner(const std::vector<int>& nerv)
event_row = bpms[i]->GetRow();
time_to_next_event = NoteRowToBeat(event_row - lastbpmrow) / bps;
const auto next_event_time = last_time + time_to_next_event;
if (bps <= 0)
Locator::getLogger()->fatal("Found {} bps in file {} - Very likely to crash.", bps, m_sFile);
while (idx < nerv.size() && nerv[idx] <= event_row) {
const auto perc = static_cast<float>(nerv[idx] - lastbpmrow) /
static_cast<float>(event_row - lastbpmrow);
Expand Down

0 comments on commit ccee0ad

Please sign in to comment.