From: terencehill Date: Mon, 15 Aug 2016 09:39:32 +0000 (+0200) Subject: Fix respawn time as int X-Git-Tag: xonotic-v0.8.2~714 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0c2631e2a6d076ef76630d5ebd61a41f8f67fcc3;p=xonotic%2Fxonotic-data.pk3dir.git Fix respawn time as int --- diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index e52feae10..57af737c5 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -1516,7 +1516,7 @@ void Scoreboard_Draw() (autocvar_hud_panel_scoreboard_respawntime_decimals ? count_seconds_decs(respawn_time - time, autocvar_hud_panel_scoreboard_respawntime_decimals) : - count_seconds(respawn_time - time) + count_seconds(ceil(respawn_time - time)) ) ); } @@ -1526,7 +1526,7 @@ void Scoreboard_Draw() (autocvar_hud_panel_scoreboard_respawntime_decimals ? count_seconds_decs(respawn_time - time, autocvar_hud_panel_scoreboard_respawntime_decimals) : - count_seconds(respawn_time - time) + count_seconds(ceil(respawn_time - time)) ) ); }