mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
angle pointer by entity definition
This commit is contained in:
parent
4ace24c00a
commit
784e2de4e3
1 changed files with 8 additions and 0 deletions
|
@ -236,6 +236,14 @@ eclass_t *Eclass_InitFromText( char *text ){
|
||||||
e->nFrame = atoi( pFrame );
|
e->nFrame = atoi( pFrame );
|
||||||
delete pFrame; //Hydra - Fixed memory leak!
|
delete pFrame; //Hydra - Fixed memory leak!
|
||||||
}
|
}
|
||||||
|
char *pAngle = NULL;
|
||||||
|
setSpecialLoad( e, "eangle=", pAngle );
|
||||||
|
if ( pAngle != NULL ) {
|
||||||
|
if ( strcmpi( pAngle, "true" ) == 0 || atoi( pAngle ) == 1 ) {
|
||||||
|
e->nShowFlags |= ECLASS_ANGLE;
|
||||||
|
}
|
||||||
|
delete pAngle;
|
||||||
|
}
|
||||||
|
|
||||||
if ( !e->skinpath ) {
|
if ( !e->skinpath ) {
|
||||||
setSpecialLoad( e, "texture=", e->skinpath );
|
setSpecialLoad( e, "texture=", e->skinpath );
|
||||||
|
|
Loading…
Reference in a new issue