From 0161a467ea22d002ef14c1604398de5120294a22 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 18 Dec 2005 07:29:31 +0000 Subject: [PATCH] TimingData is note rows internally. Don't convert from note rows to beats, and then back to note rows. --- stepmania/src/TimingData.cpp | 6 ++---- stepmania/src/TimingData.h | 6 ++++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/stepmania/src/TimingData.cpp b/stepmania/src/TimingData.cpp index ebcf6881cc..24cc13144c 100644 --- a/stepmania/src/TimingData.cpp +++ b/stepmania/src/TimingData.cpp @@ -67,9 +67,8 @@ void TimingData::AddStopSegment( const StopSegment &seg ) } /* Change an existing BPM segment, merge identical segments together or insert a new one. */ -void TimingData::SetBPMAtBeat( float fBeat, float fBPM ) +void TimingData::SetBPMAtRow( int iNoteRow, float fBPM ) { - int iNoteRow = BeatToNoteRow( fBeat ); float fBPS = fBPM / 60.0f; unsigned i; for( i=0; i