X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2FView.qc;h=66d7dd31c4b1ae258043002bc381a81109d9ddfc;hb=ca5f6a2c93ee4d96e4d928551900db11f4e8db1e;hp=c23c2c78fdf893df760040f22a634af9201817cf;hpb=2c48bae23859d4fe22c2e06a941f0f2716a1513a;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index c23c2c78f..66d7dd31c 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -374,6 +374,7 @@ float checkfail[16]; #define BUTTON_3 4 #define BUTTON_4 8 +float cl_notice_run(); void CSQC_UpdateView(float w, float h) { entity e; @@ -1394,7 +1395,7 @@ void CSQC_UpdateView(float w, float h) wcross_color = stov(autocvar_crosshair_dot_color); CROSSHAIR_DRAW(wcross_resolution * autocvar_crosshair_dot_size, "gfx/crosshairdot.tga", f * autocvar_crosshair_dot_alpha); - // FIXME why don't we use wcross_alpha here? + // FIXME why don't we use wcross_alpha here?cl_notice_run(); wcross_color = wcross_color_old; } } @@ -1468,6 +1469,9 @@ void CSQC_UpdateView(float w, float h) else if(hud == HUD_BUMBLEBEE) CSQC_BUMBLE_HUD(); } + + cl_notice_run(); + // let's reset the view back to normal for the end setproperty(VF_MIN, '0 0 0'); setproperty(VF_SIZE, '1 0 0' * w + '0 1 0' * h); @@ -1493,7 +1497,7 @@ void CSQC_common_hud(void) acc_lev[i] = stof(argv(i)) / 100.0; } // let know that acc_col[] needs to be loaded - acc_col_x[0] = -1; + acc_col[0] = '-1 0 0'; } HUD_Main(); // always run these functions for alpha checks