Remove unused attribute.

This commit is contained in:
Jason Felds
2011-07-14 11:09:49 -04:00
parent 1e624b65aa
commit 4f91b5ddbe
3 changed files with 3 additions and 12 deletions
-1
View File
@@ -242,7 +242,6 @@ bool SMLoader::ProcessBPMs( TimingData &out, const RString line, const int rowsP
if( fNewBPM < 0.0f )
{
out.m_bHasNegativeBpms = true;
negBeat = fBeat;
negBPM = fNewBPM;
}
+2 -4
View File
@@ -9,14 +9,12 @@
TimingData::TimingData() :
m_fBeat0OffsetInSeconds(0),
m_bHasNegativeBpms(false)
m_fBeat0OffsetInSeconds(0)
{
}
TimingData::TimingData(float fOffset) :
m_fBeat0OffsetInSeconds(fOffset),
m_bHasNegativeBpms(false)
m_fBeat0OffsetInSeconds(fOffset)
{
}
+1 -7
View File
@@ -1395,17 +1395,11 @@ public:
vector<ScrollSegment> m_ScrollSegments;
/** @brief The collection of FakeSegments. */
vector<FakeSegment> m_FakeSegments;
/**
* @brief The initial offset of a song.
*/
float m_fBeat0OffsetInSeconds;
/**
* @brief A flag to see if negative BPMs are used in this song.
*
* This is only used for Lua bindings in the Song, with the intentions that
* this is moved into TimingData at a future point in time.
*/
bool m_bHasNegativeBpms;
};
#undef COMPARE