Fix label segments not loading right.
This commit is contained in:
+1
-1
@@ -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;
|
||||||
|
|||||||
@@ -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() ),
|
||||||
|
|||||||
Reference in New Issue
Block a user