]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/view.qc
Handle impulse command in client code
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / view.qc
index dd184bee9bbeb7d8dfcf3f5eb75abf7337d330b5..530d8fe023be82ecfbfd55f4810e066fdb49a815 100644 (file)
@@ -1,11 +1,12 @@
 #include "view.qh"
 
-#include "autocvars.qh"
-#include "miscfunctions.qh"
 #include "announcer.qh"
-#include "hud/_mod.qh"
+#include "autocvars.qh"
 #include "mapvoting.qh"
+#include "miscfunctions.qh"
 #include "shownames.qh"
+#include "commands/impulse.qh"
+#include "hud/_mod.qh"
 #include "hud/panel/scoreboard.qh"
 #include "hud/panel/quickmenu.qh"
 
@@ -2438,6 +2439,7 @@ void CSQC_UpdateView(entity this, float w, float h)
 
        cl_notice_run();
        unpause_update();
+       impulse_frame_end();
        Net_Flush();
 
        // let's reset the view back to normal for the end