mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-10 06:31:41 +00:00
Add light_spot to the list of recognized light classes.
This commit is contained in:
parent
380a05bbdf
commit
8a8c460048
1 changed files with 2 additions and 2 deletions
|
@ -237,7 +237,8 @@ eclass_t *Eclass_InitFromText( char *text ){
|
|||
|
||||
// setup show flags
|
||||
e->nShowFlags = 0;
|
||||
if ( strcmpi( e->name, "light" ) == 0 || strcmpi( e->name, "dlight" ) == 0 || strcmpi( e->name, "lightjunior" ) == 0 ) {
|
||||
if ( strcmpi( e->name, "light" ) == 0 || strcmpi( e->name, "dlight" ) == 0
|
||||
|| strcmpi( e->name, "lightjunior" ) == 0 || strcmpi( e->name, "light_spot" ) == 0 ) {
|
||||
e->nShowFlags |= ECLASS_LIGHT;
|
||||
}
|
||||
|
||||
|
@ -255,7 +256,6 @@ eclass_t *Eclass_InitFromText( char *text ){
|
|||
e->nShowFlags |= ECLASS_MISCMODEL;
|
||||
}
|
||||
|
||||
|
||||
return e;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue