From: terencehill Date: Thu, 9 Dec 2021 12:26:15 +0000 (+0100) Subject: Remove an outdated comment and a redundant division by 1 X-Git-Tag: xonotic-v0.8.5~269 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=92ae4cf047071fc696c15fe51944bf9fec41545a;p=xonotic%2Fxonotic-data.pk3dir.git Remove an outdated comment and a redundant division by 1 --- diff --git a/qcsrc/client/announcer.qc b/qcsrc/client/announcer.qc index 109ee5ac1..5baaddeff 100644 --- a/qcsrc/client/announcer.qc +++ b/qcsrc/client/announcer.qc @@ -45,7 +45,6 @@ void Announcer_Countdown(entity this) } else // countdown is still going { - // if concomitant countdown to round start overrides countdown to game start if(inround) { Local_Notification(MSG_CENTER, CENTER_COUNTDOWN_ROUNDSTART, countdown_rounded); diff --git a/qcsrc/common/gamemodes/gamemode/keepaway/sv_keepaway.qc b/qcsrc/common/gamemodes/gamemode/keepaway/sv_keepaway.qc index 5b40ed02c..aa63238eb 100644 --- a/qcsrc/common/gamemodes/gamemode/keepaway/sv_keepaway.qc +++ b/qcsrc/common/gamemodes/gamemode/keepaway/sv_keepaway.qc @@ -84,7 +84,7 @@ void ka_TimeScoring(entity this) if(autocvar_g_keepaway_score_timepoints) GameRules_scoring_add(this.owner, SCORE, autocvar_g_keepaway_score_timepoints); - GameRules_scoring_add(this.owner, KEEPAWAY_BCTIME, (autocvar_g_keepaway_score_timeinterval / 1)); // interval is divided by 1 so that time always shows "seconds" + GameRules_scoring_add(this.owner, KEEPAWAY_BCTIME, autocvar_g_keepaway_score_timeinterval); this.nextthink = time + autocvar_g_keepaway_score_timeinterval; } }