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:
Garux
2018-02-19 00:40:51 +03:00
parent feedf4919e
commit 1b673b1a76
7 changed files with 39 additions and 32 deletions

View File

@@ -204,7 +204,7 @@ EntityClass *Eclass_InitFromText( const char *text ){
// grab the name
text = COM_Parse( text );
e->m_name = Get_COM_Token();
e->name_set( Get_COM_Token() );
debugname = e->name();
{