fix crash in EditMode >= home

This commit is contained in:
Chris Danford
2006-03-29 01:26:21 +00:00
parent 691a0daae5
commit 6b0f8879d8
+1 -4
View File
@@ -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();