From 61a7503bcb6ae1915a02399fc715c0510c22e2e3 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 19 Jun 2017 16:58:54 +1000 Subject: [PATCH] Workaround: reset hud_scale_current and hud_shift_current at the start of Hud_Dynamic_frame (fixes HUD shaking off screen) --- qcsrc/client/hud/hud.qc | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.2