refactored EntityClass usage to only store being a miscmodel in miscmodel_is bool + set it on setting classname
* miscmodel filter: simplify and support miscmodels, defined by new way (xml .ent)
This commit is contained in:
@@ -276,7 +276,7 @@ ClassImporter( EntityClassCollector& collector, ListAttributeTypes& listTypes, c
|
||||
|
||||
const char* name = element.attribute( "name" );
|
||||
ASSERT_MESSAGE( !string_empty( name ), "name attribute not specified for class" );
|
||||
m_eclass->m_name = name;
|
||||
m_eclass->name_set( name );
|
||||
|
||||
const char* color = element.attribute( "color" );
|
||||
ASSERT_MESSAGE( !string_empty( name ), "color attribute not specified for class " << name );
|
||||
|
||||
Reference in New Issue
Block a user