From c0e1da76db60d5dd207f9355abd52cf18560c0b8 Mon Sep 17 00:00:00 2001 From: Molgrum Date: Sat, 12 Jan 2008 02:52:33 +0000 Subject: [PATCH] Compress the scoreboard to fit team names. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2854 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/sbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/sbar.c b/engine/client/sbar.c index 4b93da406..10cfd0098 100644 --- a/engine/client/sbar.c +++ b/engine/client/sbar.c @@ -2153,7 +2153,7 @@ ping time frags name Draw_FunStringLen(x, y, s->team, 4); \ } \ }) -#define COLUMN_NAME COLUMN(name, 16*8, {Draw_FunString(x, y, s->name);}) +#define COLUMN_NAME COLUMN(name, (cl.teamplay ? 12*8 : 16*8), {Draw_FunString(x, y, s->name);}) #define COLUMN_KILLS COLUMN(kils, 4*8, {Draw_FunString(x, y, va("%4i", Stats_GetKills(k)));}) #define COLUMN_TKILLS COLUMN(tkil, 4*8, {Draw_FunString(x, y, va("%4i", Stats_GetTKills(k)));}) #define COLUMN_DEATHS COLUMN(dths, 4*8, {Draw_FunString(x, y, va("%4i", Stats_GetDeaths(k)));})