From: terencehill Date: Fri, 28 Nov 2014 17:31:28 +0000 (+0100) Subject: Fix broken defaut layout caused by recently added tdm columns: strcat accepts max... X-Git-Tag: xonotic-v0.8.0~130^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=771e9d179fdebdd7f48c6beb5342959f03a9ea4a;p=xonotic%2Fxonotic-data.pk3dir.git Fix broken defaut layout caused by recently added tdm columns: strcat accepts max 8 arguments and simply ignores the next ones with no warning! --- diff --git a/qcsrc/client/scoreboard.qc b/qcsrc/client/scoreboard.qc index 6db31ffed..d1d06b186 100644 --- a/qcsrc/client/scoreboard.qc +++ b/qcsrc/client/scoreboard.qc @@ -291,8 +291,7 @@ string HUD_DefaultColumnLayout() { return strcat( // fteqcc sucks "ping pl name | ", - "-teams,race,lms/kills +freezetag/kills -teams,lms/deaths +freezetag/deaths -teams,lms,race,ka/suicides +freezetag/suicides -race,dm,tdm,ka,freezetag/frags ", // tdm already has this in "score" - "+tdm/kills +tdm/deaths +tdm/suicides ", + "-teams,race,lms/kills +freezetag,tdm/kills -teams,lms/deaths +freezetag,tdm/deaths -teams,lms,race,ka/suicides +freezetag,tdm/suicides -race,dm,tdm,ka,freezetag/frags ", // tdm already has this in "score" "+ctf/caps +ctf/pickups +ctf/fckills +ctf/returns ", "+lms/lives +lms/rank ", "+kh/caps +kh/pushes +kh/destroyed ",