mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-02-01 13:10:47 +00:00
remove most of the spam when running progsless. its uninteresting in that situation.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4431 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
28303fb5f3
commit
ed407b8f81
1 changed files with 5 additions and 0 deletions
|
@ -380,6 +380,11 @@ pbool PDECL SV_BadField(pubprogfuncs_t *inst, edict_t *foo, const char *keyname,
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//don't spam warnings about missing fields if we failed to load the progs.
|
||||||
|
if (!svs.numprogs)
|
||||||
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue