Fill in Steps::m_sDescription automatically if missing.

This commit is contained in:
Chris Danford
2003-08-13 04:48:06 +00:00
parent 35950c4eaf
commit 62a6a7754b
3 changed files with 9 additions and 0 deletions
+5
View File
@@ -145,6 +145,11 @@ void Steps::TidyUpData()
default: ASSERT(0);
}
}
if( m_sDescription.empty() )
{
m_sDescription = Capitalize( DifficultyToString(m_Difficulty) );
}
}
void Steps::Decompress() const