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:
parent
89861c05c6
commit
cef4a1e478
1 changed files with 3 additions and 0 deletions
|
@ -2456,6 +2456,7 @@ int qcc_compileactive = false;
|
||||||
char *origionalqccmsrc; //for autoprototype.
|
char *origionalqccmsrc; //for autoprototype.
|
||||||
void QCC_main (int argc, char **argv) //as part of the quake engine
|
void QCC_main (int argc, char **argv) //as part of the quake engine
|
||||||
{
|
{
|
||||||
|
extern int pr_bracelevel;
|
||||||
extern int ForcedCRC;
|
extern int ForcedCRC;
|
||||||
|
|
||||||
int p;
|
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);
|
functions = (void *)qccHunkAlloc(sizeof(QCC_dfunction_t) * MAX_FUNCTIONS);
|
||||||
numfunctions=0;
|
numfunctions=0;
|
||||||
|
|
||||||
|
pr_bracelevel = 0;
|
||||||
|
|
||||||
qcc_pr_globals = (void *)qccHunkAlloc(sizeof(float) * MAX_REGS);
|
qcc_pr_globals = (void *)qccHunkAlloc(sizeof(float) * MAX_REGS);
|
||||||
numpr_globals=0;
|
numpr_globals=0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue