mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-26 03:11:30 +00:00
commit
b648ceddbc
1 changed files with 2 additions and 1 deletions
|
@ -159,8 +159,9 @@ eclass_t *Eclass_InitFromText( char *text ){
|
||||||
text++;
|
text++;
|
||||||
|
|
||||||
// get the size
|
// get the size
|
||||||
text = COM_Parse( text );
|
t = COM_Parse( text );
|
||||||
if ( Get_COM_Token()[0] == '(' ) { // parse the size as two vectors
|
if ( Get_COM_Token()[0] == '(' ) { // parse the size as two vectors
|
||||||
|
text = t;
|
||||||
e->fixedsize = true;
|
e->fixedsize = true;
|
||||||
r = sscanf( text,"%f %f %f) (%f %f %f)", &e->mins[0], &e->mins[1], &e->mins[2],
|
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] );
|
&e->maxs[0], &e->maxs[1], &e->maxs[2] );
|
||||||
|
|
Loading…
Reference in a new issue