Fix label segments not loading right.

This commit is contained in:
Jason Felds
2011-09-12 22:28:07 -04:00
parent 16916a7d67
commit 51725c188a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@
* @brief The internal version of the cache for StepMania. * @brief The internal version of the cache for StepMania.
* *
* Increment this value to invalidate the current cache. */ * Increment this value to invalidate the current cache. */
const int FILE_CACHE_VERSION = 204; const int FILE_CACHE_VERSION = 205;
/** @brief How long does a song sample last by default? */ /** @brief How long does a song sample last by default? */
const float DEFAULT_MUSIC_SAMPLE_LENGTH = 12.f; const float DEFAULT_MUSIC_SAMPLE_LENGTH = 12.f;
+1 -1
View File
@@ -239,7 +239,7 @@ struct LabelSegment : public TimingSegment
TimingSegmentType GetType() const { return SEGMENT_LABEL; } TimingSegmentType GetType() const { return SEGMENT_LABEL; }
LabelSegment( int iStartRow = ROW_INVALID, const RString& sLabel = RString() ) : LabelSegment( int iStartRow = ROW_INVALID, const RString& sLabel = RString() ) :
TimingSegment(), m_sLabel(sLabel) { } TimingSegment(iStartRow), m_sLabel(sLabel) { }
LabelSegment(const LabelSegment &other) : LabelSegment(const LabelSegment &other) :
TimingSegment( other.GetRow() ), TimingSegment( other.GetRow() ),