fix crash in EditMode >= home
This commit is contained in:
@@ -384,10 +384,7 @@ void EditMenu::OnRowValueChanged( EditMenuRow row )
|
|||||||
{
|
{
|
||||||
Difficulty dcOld = DIFFICULTY_INVALID;
|
Difficulty dcOld = DIFFICULTY_INVALID;
|
||||||
if( !m_vpSteps.empty() )
|
if( !m_vpSteps.empty() )
|
||||||
{
|
dcOld = GetSelectedDifficulty();
|
||||||
Steps *pSteps = GetSelectedSteps();
|
|
||||||
dcOld = pSteps->GetDifficulty();
|
|
||||||
}
|
|
||||||
|
|
||||||
m_vpSteps.clear();
|
m_vpSteps.clear();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user