NULL function crash fix

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1178 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2005-07-31 00:12:09 +00:00
parent 655fe901be
commit a23de78d86
4 changed files with 4 additions and 4 deletions

View file

@ -493,7 +493,7 @@ reeval:
if ((fnum & ~0xff000000)==0) if ((fnum & ~0xff000000)==0)
{ {
pr_trace++; pr_trace++;
printf("NULL function from qc (%s).\n", pr_xfunction->s_name); printf("NULL function from qc (%s).\n", progfuncs->stringtable + pr_xfunction->s_name);
#ifndef DEBUGABLE #ifndef DEBUGABLE
goto cont; goto cont;
#endif #endif

View file

@ -493,7 +493,7 @@ reeval:
if ((fnum & ~0xff000000)==0) if ((fnum & ~0xff000000)==0)
{ {
pr_trace++; pr_trace++;
printf("NULL function from qc (%s).\n", pr_xfunction->s_name); printf("NULL function from qc (%s).\n", progfuncs->stringtable + pr_xfunction->s_name);
#ifndef DEBUGABLE #ifndef DEBUGABLE
goto cont; goto cont;
#endif #endif

View file

@ -493,7 +493,7 @@ reeval:
if ((fnum & ~0xff000000)==0) if ((fnum & ~0xff000000)==0)
{ {
pr_trace++; pr_trace++;
printf("NULL function from qc (%s).\n", pr_xfunction->s_name); printf("NULL function from qc (%s).\n", progfuncs->stringtable + pr_xfunction->s_name);
#ifndef DEBUGABLE #ifndef DEBUGABLE
goto cont; goto cont;
#endif #endif

View file

@ -493,7 +493,7 @@ reeval:
if ((fnum & ~0xff000000)==0) if ((fnum & ~0xff000000)==0)
{ {
pr_trace++; pr_trace++;
printf("NULL function from qc (%s).\n", pr_xfunction->s_name); printf("NULL function from qc (%s).\n", progfuncs->stringtable + pr_xfunction->s_name);
#ifndef DEBUGABLE #ifndef DEBUGABLE
goto cont; goto cont;
#endif #endif