Angle arrow for entities with angle and fixed size

This commit is contained in:
Pan7 2015-10-04 10:53:05 +02:00
parent 424958f54b
commit 1a70de0efe
1 changed files with 6 additions and 0 deletions

View File

@ -250,6 +250,12 @@ eclass_t *Eclass_InitFromText( char *text ){
) { ) {
e->nShowFlags |= ECLASS_ANGLE; e->nShowFlags |= ECLASS_ANGLE;
} }
for ( i = 0 ; i < MAX_FLAGS ; i++ )
{
if ( e->flagnames[i] && e->flagnames[i][0] != 0 && strcmpi( e->flagnames[i], "angle" ) && e->fixedsize ) {
e->nShowFlags |= ECLASS_ANGLE;
}
}
if ( strcmpi( e->name, "path" ) == 0 ) { if ( strcmpi( e->name, "path" ) == 0 ) {
e->nShowFlags |= ECLASS_PATH; e->nShowFlags |= ECLASS_PATH;
} }