Skip to content

Commit

Permalink
isrecalcvalid is actually bugged, fix later
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jan 29, 2017
1 parent 720ab62 commit d296982
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Steps.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ class Steps
void SetAllMSD(const MinaSD &msd) { stuffnthings = msd; }
MinaSD GetAllMSD() const { return stuffnthings; }
map<float, Skillset> SortSkillsetsAtRate(float x, bool includeoverall);
bool IsRecalcValid() { return m_StepsType != StepsType_dance_single && !m_Timing.HasWarps(); }

// this is bugged and returns true for files with negative bpms when it shouldn't - mina
bool IsRecalcValid() { GetTimingData()->NegStopAndBPMCheck(); return m_StepsType != StepsType_dance_single && GetTimingData()->HasWarps() && GetTimingData()->ValidSequentialAssumption; }

// prolly needs an enum or something idk - mina
float GetMSD(float x, int i) const;
Expand Down

0 comments on commit d296982

Please sign in to comment.