fix a silly edict print bug

This commit is contained in:
Bill Currie 2001-03-02 23:07:21 +00:00
parent 6c9de8061b
commit 26c387408c

View file

@ -478,7 +478,7 @@ ED_Print (progs_t * pr, edict_t *ed)
type = d->type & ~DEF_SAVEGLOBAL;
for (j = 0; j < type_size[type]; j++)
if (((char*)v)[j])
if (v[j].int_var)
break;
if (j == type_size[type])
continue;