mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-01-31 12:40:43 +00:00
Fixes the give command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@977 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
403e207feb
commit
434fedf8a5
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ char *EvaluateDebugString(progfuncs_t *progfuncs, char *key)
|
||||||
if (c)*c = '.';
|
if (c)*c = '.';
|
||||||
if (!fdef)
|
if (!fdef)
|
||||||
return "(Bad string)";
|
return "(Bad string)";
|
||||||
val = (eval_t *) (((char *)PROG_TO_EDICT(progfuncs, val->_int) + externs->edictsize) + fdef->ofs*4);
|
val = (eval_t *) (((char *)PROG_TO_EDICT(progfuncs, val->_int)->fields) + fdef->ofs*4);
|
||||||
def->type = fdef->type;
|
def->type = fdef->type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue