mirror of
https://git.code.sf.net/p/quake/nuq
synced 2024-11-22 04:01:11 +00:00
who's idea were these things?
This commit is contained in:
parent
8dca32f27d
commit
12b4f480c6
1 changed files with 2 additions and 2 deletions
|
@ -408,7 +408,7 @@ char *PR_GlobalString (int ofs)
|
||||||
val = (void *)&pr_globals[ofs];
|
val = (void *)&pr_globals[ofs];
|
||||||
def = ED_GlobalAtOfs(ofs);
|
def = ED_GlobalAtOfs(ofs);
|
||||||
if (!def)
|
if (!def)
|
||||||
snprintf (line, sizeof(line), "%i(???)", ofs);
|
snprintf (line, sizeof(line), "%i(\?\?\?)", ofs);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
s = PR_ValueString (def->type, val);
|
s = PR_ValueString (def->type, val);
|
||||||
|
@ -431,7 +431,7 @@ char *PR_GlobalStringNoContents (int ofs)
|
||||||
|
|
||||||
def = ED_GlobalAtOfs(ofs);
|
def = ED_GlobalAtOfs(ofs);
|
||||||
if (!def)
|
if (!def)
|
||||||
snprintf (line, sizeof(line), "%i(???)", ofs);
|
snprintf (line, sizeof(line), "%i(\?\?\?)", ofs);
|
||||||
else
|
else
|
||||||
snprintf (line, sizeof(line), "%i(%s)", ofs, pr_strings + def->s_name);
|
snprintf (line, sizeof(line), "%i(%s)", ofs, pr_strings + def->s_name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue