don't print ! on uninitialized global defs that are the correct type for

the instruction
This commit is contained in:
Bill Currie 2002-06-17 05:31:08 +00:00
parent 8263d3bd85
commit 717127e0d8

View file

@ -362,7 +362,7 @@ PR_GlobalString (progs_t * pr, int ofs, etype_t type)
if (type == ev_void)
type = def->type;
name = PR_GetString (pr, def->s_name);
if (type != def->type)
if (type != (def->type & ~DEF_SAVEGLOBAL))
oi = "!";
}
if (ofs > pr->globals_size)