From bc428058f564aaf37098afceb29b11f29225c997 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 16 Nov 2002 07:31:30 +0000 Subject: [PATCH] fix scope --- stepmania/src/song.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/stepmania/src/song.h b/stepmania/src/song.h index 879813e897..e848c021c1 100644 --- a/stepmania/src/song.h +++ b/stepmania/src/song.h @@ -161,21 +161,24 @@ public: }; float GetBPMAtBeat( float fBeat ) const { - for( unsigned i=0; i fBeat ) break; return m_BPMSegments[i].m_fBPM; }; BPMSegment& GetBPMSegmentAtBeat( float fBeat ) { - for( unsigned i=0; i fBeat ) break; return m_BPMSegments[i]; }; CString GetBackgroundAtBeat( float fBeat ) { - for( unsigned i=0; i fBeat ) break; return m_BackgroundChanges[i].m_sBGName;