From ef8c96667ec0c26f5eb1b18be351cf26a989cb81 Mon Sep 17 00:00:00 2001 From: Molgrum Date: Sun, 25 May 2008 21:53:19 +0000 Subject: [PATCH] Oops git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2974 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- plugins/hud/ui_sbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hud/ui_sbar.c b/plugins/hud/ui_sbar.c index 5a3b8eb5d..3d088576b 100644 --- a/plugins/hud/ui_sbar.c +++ b/plugins/hud/ui_sbar.c @@ -1871,7 +1871,7 @@ void UI_KeyPress(int key, int mx, int my) int j; // Blackness should be sent to the back - for (j = numelements; j > 0; j--) + for (j = currentitem; j > 0; j--) { element[j] = element[j-1]; }