mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
don't print ! on uninitialized global defs that are the correct type for
the instruction
This commit is contained in:
parent
8263d3bd85
commit
717127e0d8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue