small bugfix with relation to count of errors dropping after the first compile.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@391 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-11-03 04:21:42 +00:00
parent 89861c05c6
commit cef4a1e478

View file

@ -2456,6 +2456,7 @@ int qcc_compileactive = false;
char *origionalqccmsrc; //for autoprototype.
void QCC_main (int argc, char **argv) //as part of the quake engine
{
extern int pr_bracelevel;
extern int ForcedCRC;
int p;
@ -2591,6 +2592,8 @@ void QCC_main (int argc, char **argv) //as part of the quake engine
functions = (void *)qccHunkAlloc(sizeof(QCC_dfunction_t) * MAX_FUNCTIONS);
numfunctions=0;
pr_bracelevel = 0;
qcc_pr_globals = (void *)qccHunkAlloc(sizeof(float) * MAX_REGS);
numpr_globals=0;