From: terencehill Date: Tue, 13 Apr 2021 13:02:57 +0000 (+0200) Subject: Improve comments X-Git-Tag: xonotic-v0.8.5~448 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c857fd3d9a05291605f6b93254b83abeb107d19d;p=xonotic%2Fxonotic-data.pk3dir.git Improve comments --- diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index 43ebc2e3f..fd765ed11 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -470,7 +470,7 @@ void Cmd_Scoreboard_SetFields(int argc) PlayerScoreField j; switch(str) { - // fields without a label (not networked) + // fields without a label (not networked via the score system) case "ping": sbt_field[sbt_num_fields] = SP_PING; break; case "pl": sbt_field[sbt_num_fields] = SP_PL; break; case "name": case "nick": sbt_field[sbt_num_fields] = SP_NAME; have_name = true; break; diff --git a/qcsrc/common/scores.qh b/qcsrc/common/scores.qh index 39510dd9f..cf50a7fd1 100644 --- a/qcsrc/common/scores.qh +++ b/qcsrc/common/scores.qh @@ -17,7 +17,7 @@ STATIC_INIT(Scores_renumber) { FOREACH(Scores, true, it.m_id = i); } // game mode specific indices are not in common/, but in server/scores_rules.qc! #ifdef GAMEQC -// non-networked fields (client only, even though they are defined in the server too) +// fields not networked via the score system REGISTER_SP(END); REGISTER_SP(PING);