From: Mario Date: Sun, 19 Apr 2015 04:46:24 +0000 (+1000) Subject: Fix player brightness X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=699813a80fd5bb7cb3b74e0c34f67dabce0c8538;p=xonotic%2Fxonotic-data.pk3dir.git Fix player brightness --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index f8bd8d050..913967c55 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -424,7 +424,11 @@ void FixPlayermodel() if(checkinlist(self.crypto_idfp, autocvar_sv_allow_customplayermodels_idlist) || IS_BOT_CLIENT(self)) { if(self.cvar_cl_thestars == 1) + { + if(autocvar_g_fullbrightplayers && autocvar_g_player_brightness) + self.colormod = '0.7 0.7 0.7'; // regular brightness is way too bright here defaultmodel = "models/player/rosalina.dpm"; + } if(self.cvar_cl_damnfurries == 1) defaultmodel = "models/player/renamon.iqm"; if(self.cvar_cl_robot == 2)