X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2FView.qc;h=ac2f12cb52a9eba1196579b8616b4a6631d6d53a;hb=88296fedbde57832fda1597da95d1f9bf484b335;hp=f8e054df86a53d898ce8b2f71de1dad63b425f40;hpb=845688edbe9045b65b6e9978be287b0e3bda3e30;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index f8e054df8..ac2f12cb5 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -371,6 +371,7 @@ void CSQC_UpdateView(float w, float h) vector v; vector vf_size, vf_min; float a; + hud = getstati(STAT_HUD); if(checkextension("DP_CSQC_MINFPS_QUALITY")) @@ -409,9 +410,11 @@ void CSQC_UpdateView(float w, float h) CSQCPlayer_SetCamera(); +#ifdef COMPAT_XON050_ENGINE if(spectatee_status) myteam = GetPlayerColor(spectatee_status - 1); else +#endif myteam = GetPlayerColor(player_localentnum - 1); ticrate = getstatf(STAT_MOVEVARS_TICRATE) * getstatf(STAT_MOVEVARS_TIMESCALE);