]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - pr_edict.c
Serious-Sam style crosshair (an actual sprite in the world, with slight variation...
[xonotic/darkplaces.git] / pr_edict.c
index c812c00a370b9ed834355bc0ba778beb3f4fbf4b..bf351309ad331e3b39617e44ffb227ea7fb9e128 100644 (file)
@@ -171,7 +171,7 @@ void FindEdictFieldOffsets(void)
        SV_PlayerPhysicsQC = ED_FindFunction ("SV_PlayerPhysics");
        // LordHavoc: support for endframe
        EndFrameQC = ED_FindFunction ("EndFrame");
-};
+}
 
 /*
 =================
@@ -500,7 +500,7 @@ char *PR_GlobalString (int ofs)
        val = (void *)&pr_globals[ofs];
        def = ED_GlobalAtOfs(ofs);
        if (!def)
-               sprintf (line,"%i(\?\?\?)", ofs); // LordHavoc: escaping the ?s so it is not a trigraph
+               sprintf (line,"%i(?)", ofs);
        else
        {
                s = PR_ValueString (def->type, val);
@@ -523,7 +523,7 @@ char *PR_GlobalStringNoContents (int ofs)
 
        def = ED_GlobalAtOfs(ofs);
        if (!def)
-               sprintf (line,"%i(\?\?\?)", ofs); // LordHavoc: escaping the ?s so it is not a trigraph
+               sprintf (line,"%i(?)", ofs);
        else
                sprintf (line,"%i(%s)", ofs, pr_strings + def->s_name);