Activate Step's #CREDIT tag.
This commit is contained in:
+7
-1
@@ -322,7 +322,7 @@ void Steps::DeAutogen( bool bCopyNoteData )
|
||||
m_Difficulty = Real()->m_Difficulty;
|
||||
m_iMeter = Real()->m_iMeter;
|
||||
copy( Real()->m_CachedRadarValues, Real()->m_CachedRadarValues + NUM_PLAYERS, m_CachedRadarValues );
|
||||
|
||||
m_sCredit = Real()->m_sCredit;
|
||||
parent = NULL;
|
||||
|
||||
if( bCopyNoteData )
|
||||
@@ -366,6 +366,12 @@ void Steps::SetDifficultyAndDescription( Difficulty dc, RString sDescription )
|
||||
MakeValidEditDescription( m_sDescription );
|
||||
}
|
||||
|
||||
void Steps::SetCredit( RString sCredit )
|
||||
{
|
||||
DeAutogen();
|
||||
m_sCredit = sCredit;
|
||||
}
|
||||
|
||||
bool Steps::MakeValidEditDescription( RString &sPreferredDescription )
|
||||
{
|
||||
if( int(sPreferredDescription.size()) > MAX_EDIT_STEPS_DESCRIPTION_LENGTH )
|
||||
|
||||
Reference in New Issue
Block a user