1
0
Fork 0
forked from fte/fteqw

Spike broke this

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2439 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2006-11-02 03:00:50 +00:00
parent 6b57afe022
commit b444ca99ac

View file

@ -509,7 +509,8 @@ char *EvaluateDebugString(progfuncs_t *progfuncs, char *key)
if (!func) if (!func)
{ {
assignment[-1] = '='; assignment[-1] = '=';
return va("Can't find function %s\n", s); sprintf(buf, "Can't find function %s\n", s);
return buf;
} }
*(func_t *)val = (func - pr_progstate[i].functions) | (i<<24); *(func_t *)val = (func - pr_progstate[i].functions) | (i<<24);
} }