From: Mario Date: Mon, 19 Jun 2017 06:58:54 +0000 (+1000) Subject: Workaround: reset hud_scale_current and hud_shift_current at the start of Hud_Dynamic... X-Git-Tag: xonotic-v0.8.5~2720 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=61a7503bcb6ae1915a02399fc715c0510c22e2e3;p=xonotic%2Fxonotic-data.pk3dir.git Workaround: reset hud_scale_current and hud_shift_current at the start of Hud_Dynamic_frame (fixes HUD shaking off screen) --- diff --git a/qcsrc/client/hud/hud.qc b/qcsrc/client/hud/hud.qc index 118483f76..fd46288c6 100644 --- a/qcsrc/client/hud/hud.qc +++ b/qcsrc/client/hud/hud.qc @@ -490,6 +490,9 @@ void calc_followmodel_ofs(entity view); void Hud_Dynamic_Frame() { vector ofs = '0 0 0'; + hud_scale_current = '1 1 0'; + hud_shift_current = '0 0 0'; + if (autocvar_hud_dynamic_follow) { entity view = CSQCModel_server2csqc(player_localentnum - 1);