]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sbar.c
WIN32: changed stricmp and strnicmp to have an underscore prefix
[xonotic/darkplaces.git] / sbar.c
diff --git a/sbar.c b/sbar.c
index f28fd46ff390421c27bc7b73ba5eca523e4fc70c..0e673576f069a6e7772cfe1d70c2c5a514e31583 100644 (file)
--- a/sbar.c
+++ b/sbar.c
@@ -871,7 +871,7 @@ void Sbar_DrawInventory (void)
                if (num[2] != ' ')
                        Sbar_DrawCharacter ( (6*i+2)*8 - 2, -24, 18 + num[2] - '0');
                if (num[3] != ' ')
-                       Sbar_DrawCharacter ( (6*i+3)*8 - 2, -24, 18 + num[2] - '0');
+                       Sbar_DrawCharacter ( (6*i+3)*8 - 2, -24, 18 + num[3] - '0');
        }
 
        // items
@@ -1974,9 +1974,7 @@ void Sbar_IntermissionOverlay (void)
        int             dig;
        int             num;
 
-       // LordHavoc: changed to draw the deathmatch overlays in any multiplayer mode
-       //if (cl.gametype == GAME_DEATHMATCH)
-       if (!cl.islocalgame)
+       if (cl.gametype == GAME_DEATHMATCH)
        {
                Sbar_DeathmatchOverlay ();
                return;