From: terencehill Date: Mon, 9 Apr 2012 19:17:25 +0000 (+0200) Subject: Fix command cl_cmd hud scoreboard_columns_set showing the error "unknown... X-Git-Tag: xonotic-v0.7.0~194^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=41f0628654eb23b5e13360dd556e0bfc4a103147;p=xonotic%2Fxonotic-data.pk3dir.git Fix command cl_cmd hud scoreboard_columns_set showing the error "unknown score field: 'scoreboard_columns_set'" --- diff --git a/qcsrc/client/scoreboard.qc b/qcsrc/client/scoreboard.qc index e828a17d5..dcc18c48b 100644 --- a/qcsrc/client/scoreboard.qc +++ b/qcsrc/client/scoreboard.qc @@ -339,9 +339,9 @@ void Cmd_HUD_SetFields(float argc) hud_num_fields = 0; - hud_fontsize = HUD_GetFontsize("hud_fontsize"); + hud_fontsize = HUD_GetFontsize("hud_fontsize"); - for(i = 0; i < argc - 1; ++i) + for(i = 1; i < argc - 1; ++i) { float nocomplain; str = argv(i+1);