scoreboard bug fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7037 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lucas GAUTHERON
2013-01-06 15:32:39 +00:00
parent 8936e4152f
commit 34e688e5aa
+1 -4
View File
@@ -53,9 +53,6 @@ struct sline
sline() : bgcolor(NULL), textcolor(0) { copystring(s, ""); }
// FIXME : type and priority are a bit redundant
// but getting rid of "type" might cause issues under specific conditions
// (if two columns share the same priority)
void addcol(int priority, const char *format = NULL, ...)
{
if(priority < 0) return;
@@ -77,7 +74,7 @@ struct sline
loopv(cols)
{
if(i > 0) concatstring(s, "\t");
concatstring(s, cols[i].val);
if(cols[i].val) concatstring(s, cols[i].val);
}
}
return s;