small bug there when not running any progs...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4537 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-11-24 17:31:59 +00:00
parent ad2ee5ddd1
commit d6e089d87f
1 changed files with 1 additions and 1 deletions

View File

@ -4624,7 +4624,7 @@ void PR_ProgsAdded(pubprogfuncs_t *prinst, int newprogs, const char *modulename)
vfsfile_t *f = NULL;
char lang[64], *h;
extern cvar_t language;
if (newprogs == -1)
if (!prinst || newprogs < 0)
return;
if (*language.string)
{