* point entities are understood as miscmodels, if <model attribute is present in xml .ent definition

* <model key= is not hardcoded to 'model' anymore, can use 'mdl'(q1) or w/e
This commit is contained in:
Garux
2018-01-31 23:14:30 +03:00
parent 387c4c0846
commit f9157a6993
5 changed files with 27 additions and 11 deletions

View File

@@ -208,6 +208,10 @@ AttributeImporter( StringOutputStream& comment, EntityClass* entityClass, const
ASSERT_MESSAGE( string_empty( entityClass->flagnames[bit] ), "non-unique flag bit" );
strcpy( entityClass->flagnames[bit], key );
}
else if( entityClass->fixedsize && string_equal( type, "model" ) ){
entityClass->miscmodel_is = true;
entityClass->m_miscmodel_key = key;
}
m_comment << key;
m_comment << " : ";