mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
Catch and ignore sky and fog fields.
This way, we won't get spammed with "not a field" messages on map load.
This commit is contained in:
parent
c4f71c0cda
commit
4af6c8c108
1 changed files with 5 additions and 0 deletions
|
@ -164,6 +164,11 @@ print_f (void)
|
|||
static int
|
||||
parse_field (progs_t *pr, const char *key, const char *value)
|
||||
{
|
||||
if (strequal (key, "sky")
|
||||
|| strequal (key, "skyname")
|
||||
|| strequal (key, "qlsky")
|
||||
|| strequal (key, "fog"))
|
||||
return 1;
|
||||
if (*key == '_') // ignore _fields
|
||||
return 1;
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue