diff --git a/libs/gamecode/pr_edict.c b/libs/gamecode/pr_edict.c index 29cb251a9..e4e3a5a78 100644 --- a/libs/gamecode/pr_edict.c +++ b/libs/gamecode/pr_edict.c @@ -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;