From 51725c188aeaa69257d10b96d5745e7aa63a491f Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Mon, 12 Sep 2011 22:28:07 -0400 Subject: [PATCH] Fix label segments not loading right. --- src/Song.cpp | 2 +- src/TimingSegments.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Song.cpp b/src/Song.cpp index 2872a23f50..08182feaa6 100644 --- a/src/Song.cpp +++ b/src/Song.cpp @@ -41,7 +41,7 @@ * @brief The internal version of the cache for StepMania. * * 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? */ const float DEFAULT_MUSIC_SAMPLE_LENGTH = 12.f; diff --git a/src/TimingSegments.h b/src/TimingSegments.h index ca3e7d8431..c0fd47943e 100644 --- a/src/TimingSegments.h +++ b/src/TimingSegments.h @@ -239,7 +239,7 @@ struct LabelSegment : public TimingSegment TimingSegmentType GetType() const { return SEGMENT_LABEL; } LabelSegment( int iStartRow = ROW_INVALID, const RString& sLabel = RString() ) : - TimingSegment(), m_sLabel(sLabel) { } + TimingSegment(iStartRow), m_sLabel(sLabel) { } LabelSegment(const LabelSegment &other) : TimingSegment( other.GetRow() ),