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:
Spoike 2013-07-27 12:23:13 +00:00
parent 28303fb5f3
commit ed407b8f81

View file

@ -380,6 +380,11 @@ pbool PDECL SV_BadField(pubprogfuncs_t *inst, edict_t *foo, const char *keyname,
return true;
}
}
//don't spam warnings about missing fields if we failed to load the progs.
if (!svs.numprogs)
return true;
return false;
}