Changed DrawBeatBar to check the M-mod so that smaller beat bars are drawn when M-mods are used in edit mode. Updated changelog.

This commit is contained in:
Kyzentun Keeslala
2015-12-04 00:28:22 -07:00
parent 9739fd417c
commit a35fa1416e
2 changed files with 14 additions and 2 deletions
+9 -2
View File
@@ -375,9 +375,16 @@ void NoteField::DrawBeatBar( const float fBeat, BeatBarType type, int iMeasureIn
}
else
{
float fScrollSpeed = m_pPlayerState->m_PlayerOptions.GetCurrent().m_fScrollSpeed;
if( m_pPlayerState->m_PlayerOptions.GetCurrent().m_fTimeSpacing > 0 )
PlayerOptions const& curr_ops= m_pPlayerState->m_PlayerOptions.GetCurrent();
float fScrollSpeed = curr_ops.m_fScrollSpeed;
if(curr_ops.m_fTimeSpacing > 0)
{
fScrollSpeed = 4;
}
else if(curr_ops.m_fMaxScrollBPM != 0)
{
fScrollSpeed= curr_ops.m_fMaxScrollBPM / m_pPlayerState->m_fReadBPM;
}
switch( type )
{
DEFAULT_FAIL( type );