fix a bug in displaying ammo numbers, was a stupid typo
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 1 Sep 2007 12:23:14 +0000 (12:23 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 1 Sep 2007 12:23:14 +0000 (12:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7551 d7cf8633-e32d-0410-b094-e92efae38249

sbar.c

diff --git a/sbar.c b/sbar.c
index 67a3cde..0e67357 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