print the value even for unknown defs if the type is known

This commit is contained in:
Bill Currie 2003-08-22 17:32:55 +00:00
parent a48b2dd103
commit cb6eba87ca

View file

@ -322,8 +322,8 @@ PR_GlobalString (progs_t *pr, int ofs, etype_t type)
else
dsprintf (line, "%s", s);
} else if (strequal(name, "?"))
dsprintf (line, "[$%x](%08x)", ofs,
pr->pr_globals[ofs].integer_var);
dsprintf (line, "[$%x](%08x)%s", ofs,
pr->pr_globals[ofs].integer_var, s);
else {
if (type == ev_func)
dsprintf (line, "%s%s", name, oi);