From: havoc Date: Sat, 1 Sep 2007 12:23:14 +0000 (+0000) Subject: fix a bug in displaying ammo numbers, was a stupid typo X-Git-Tag: xonotic-v0.1.0preview~2924 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bc37bb499242a8bb9b5b782924e4485617a30edc;p=xonotic%2Fdarkplaces.git fix a bug in displaying ammo numbers, was a stupid typo git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7551 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sbar.c b/sbar.c index 67a3cde0..0e673576 100644 --- 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