From: Mario Date: Fri, 8 Nov 2013 10:33:21 +0000 (+1100) Subject: Fix missing vehicle HUD code X-Git-Tag: xonotic-v0.8.2~1987^2~55^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=872bbe1136459ec11cee7d757384d4f80b439731;p=xonotic%2Fxonotic-data.pk3dir.git Fix missing vehicle HUD code --- diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index d20619dc7..55ea5192e 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -1567,6 +1567,20 @@ void CSQC_UpdateView(float w, float h) else if(HUD_QuickMenu_IsOpened()) HUD_QuickMenu_Mouse(); + if(hud && !intermission) + { + if(hud == HUD_SPIDERBOT) + CSQC_SPIDER_HUD(); + else if(hud == HUD_WAKIZASHI) + CSQC_WAKIZASHI_HUD(); + else if(hud == HUD_RAPTOR) + CSQC_RAPTOR_HUD(); + else if(hud == HUD_BUMBLEBEE) + CSQC_BUMBLE_HUD(); + else if(hud == HUD_BUMBLEBEE_GUN) + CSQC_BUMBLE_GUN_HUD(); + } + cl_notice_run(); // let's reset the view back to normal for the end