X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2FView.qc;h=e640e906d9977d099fdefe7e145268cb5da35c65;hp=3f8cd6c71e76a06d81948bd18e0271009b5bec72;hb=ac46eb66c927d1d4c0c61f1ada5efe7fc847ac63;hpb=1d0eaad973132185724f34ba525749592617eccd diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index 3f8cd6c71e..e640e906d9 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -479,7 +479,7 @@ void CSQC_UpdateView(float w, float h) ColorTranslateMode = cvar("cl_stripcolorcodes"); activeweapon = getstati(STAT_SWITCHWEAPON); - f = cvar("teamplay"); + f = (serverflags & SERVERFLAG_TEAMPLAY); if(f != teamplay) { teamplay = f;