From adedfea26dc176bb4676f831c8448ecc072e68ed Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 27 Dec 2005 04:54:40 +0000 Subject: [PATCH] esteel's patch used C99 lazy variable declaration, fixed git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5868 d7cf8633-e32d-0410-b094-e92efae38249 --- sbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbar.c b/sbar.c index 0e2e5f13..16513a97 100644 --- a/sbar.c +++ b/sbar.c @@ -490,7 +490,7 @@ static int teamsort[MAX_SCOREBOARD]; static int teamlines; void Sbar_SortFrags (void) { - int i, j, k; + int i, j, k, color; // sort by frags scoreboardlines = 0; @@ -530,7 +530,7 @@ void Sbar_SortFrags (void) } // calculate team scores - int color = -1; + color = -1; for (i=0 ; i