working on new course editor
This commit is contained in:
@@ -767,6 +767,21 @@ void OptionRow::Reload( const OptionRowDefinition &def )
|
||||
}
|
||||
}
|
||||
|
||||
void OptionRow::SetEnabledRowForAllPlayers( bool bEnabledForAllPlayers )
|
||||
{
|
||||
OptionRowDefinition def = m_RowDef;
|
||||
if( bEnabledForAllPlayers )
|
||||
{
|
||||
OptionRowDefinition temp;
|
||||
def.m_vEnabledForPlayers = temp.m_vEnabledForPlayers;
|
||||
}
|
||||
else
|
||||
{
|
||||
def.m_vEnabledForPlayers.clear();
|
||||
}
|
||||
Reload( def );
|
||||
}
|
||||
|
||||
void OptionRow::HandleMessage( const CString& sMessage )
|
||||
{
|
||||
Reload( m_RowDef );
|
||||
|
||||
Reference in New Issue
Block a user