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
1 changed files with 1 additions and 1 deletions

View File

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