mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 02:11:19 +00:00
don't complain about _fields not being found
This commit is contained in:
parent
c4d81cda19
commit
b203512eb7
2 changed files with 4 additions and 0 deletions
|
@ -152,6 +152,8 @@ PR_Profile_f (void)
|
|||
static int
|
||||
parse_field (progs_t *pr, const char *key, const char *value)
|
||||
{
|
||||
if (*key == '_') // ignore _fields
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -172,6 +172,8 @@ parse_field (progs_t *pr, const char *key, const char *value)
|
|||
Cvar_Set (r_skyname, value);
|
||||
return 1;
|
||||
}
|
||||
if (*key == '_') // ignore _fields
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue