ed_print fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1075 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
d0bf1e327c
commit
581603da12
1 changed files with 2 additions and 1 deletions
|
@ -856,7 +856,8 @@ void ED_Print (progfuncs_t *progfuncs, struct edict_s *ed)
|
|||
{
|
||||
d = &field[i];
|
||||
name = d->name;
|
||||
if (name[strlen(name)-2] == '_')
|
||||
l = strlen(name);
|
||||
if (l >= 2 && name[l-2] == '_')
|
||||
continue; // skip _x, _y, _z vars
|
||||
|
||||
v = (int *)((char *)edvars(ed) + d->ofs*4);
|
||||
|
|
Loading…
Reference in a new issue