]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix missing vehicle HUD code
authorMario <mario.mario@y7mail.com>
Fri, 8 Nov 2013 10:33:21 +0000 (21:33 +1100)
committerMario <mario.mario@y7mail.com>
Fri, 8 Nov 2013 10:33:21 +0000 (21:33 +1100)
qcsrc/client/View.qc

index d20619dc7f1e2a69fdaa63062cdff1b376294ba7..55ea5192eca0e0739b21dff6ca61612c042119ff 100644 (file)
@@ -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