]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Workaround: reset hud_scale_current and hud_shift_current at the start of Hud_Dynamic...
authorMario <mario@smbclan.net>
Mon, 19 Jun 2017 06:58:54 +0000 (16:58 +1000)
committerMario <mario@smbclan.net>
Mon, 19 Jun 2017 06:58:54 +0000 (16:58 +1000)
qcsrc/client/hud/hud.qc

index 118483f76104d67f0cf7cea7dcf5ff93ece3f11d..fd46288c6779420d09f9d9e62d9b032c7ef16696 100644 (file)
@@ -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);