Merge pull request #263 from neumond/defflag

entity.def: parser fix
This commit is contained in:
Timothee "TTimo" Besset 2015-03-08 10:24:17 -05:00
commit b648ceddbc

View file

@ -159,8 +159,9 @@ eclass_t *Eclass_InitFromText( char *text ){
text++;
// get the size
text = COM_Parse( text );
t = COM_Parse( text );
if ( Get_COM_Token()[0] == '(' ) { // parse the size as two vectors
text = t;
e->fixedsize = true;
r = sscanf( text,"%f %f %f) (%f %f %f)", &e->mins[0], &e->mins[1], &e->mins[2],
&e->maxs[0], &e->maxs[1], &e->maxs[2] );