mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +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
|
static int
|
||||||
parse_field (progs_t *pr, const char *key, const char *value)
|
parse_field (progs_t *pr, const char *key, const char *value)
|
||||||
{
|
{
|
||||||
|
if (*key == '_') // ignore _fields
|
||||||
|
return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -172,6 +172,8 @@ parse_field (progs_t *pr, const char *key, const char *value)
|
||||||
Cvar_Set (r_skyname, value);
|
Cvar_Set (r_skyname, value);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
if (*key == '_') // ignore _fields
|
||||||
|
return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue