From 062ff95d5e5adc1968be075fd008dd42ff9dc62a Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Wed, 2 Jan 2008 11:49:15 +0000 Subject: [PATCH] Do what the comment says and change random movies every 4 measures. This combined with the TimingData.h change fixes random movies switching every beat instead of every four measures. --- stepmania/src/Background.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Background.cpp b/stepmania/src/Background.cpp index 3192a0cb66..b198479f2a 100644 --- a/stepmania/src/Background.cpp +++ b/stepmania/src/Background.cpp @@ -423,7 +423,7 @@ void BackgroundImpl::LoadFromRandom( float fFirstBeat, float fEndBeat, const Bac next++; int iSegmentEndRow = (next == timing.m_vTimeSignatureSegments.end()) ? iEndRow : next->m_iStartRow; - for( int i=max(iter->m_iStartRow,iStartRow); iGetNoteRowsPerMeasure() ) + for( int i=max(iter->m_iStartRow,iStartRow); iGetNoteRowsPerMeasure() ) { // Don't fade. It causes frame rate dip, especially on slower machines. BackgroundDef bd = m_Layer[0].CreateRandomBGA( m_pSong, change.m_def.m_sEffect, m_RandomBGAnimations, this );