From: Samual Lenks Date: Sat, 18 Aug 2012 23:44:54 +0000 (-0400) Subject: Fix something stupid X-Git-Tag: xonotic-v0.8.0~152^2~408^2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bbf8e9b8fb1b10793b2a79f74697d036a2139720;p=xonotic%2Fxonotic-data.pk3dir.git Fix something stupid --- diff --git a/qcsrc/client/miscfunctions.qc b/qcsrc/client/miscfunctions.qc index 29ae55941..33c5e594d 100644 --- a/qcsrc/client/miscfunctions.qc +++ b/qcsrc/client/miscfunctions.qc @@ -600,7 +600,7 @@ vector getcsqcplayercolor(float pl) { entity e; - e = CSQCModel_server2csqc(pl + 1); + e = CSQCModel_server2csqc(pl); if(e) { if(e.colormap > 0) diff --git a/qcsrc/client/particles.qc b/qcsrc/client/particles.qc index ac2f9fdea..14a5d9f57 100644 --- a/qcsrc/client/particles.qc +++ b/qcsrc/client/particles.qc @@ -316,7 +316,7 @@ void Draw_Shockwave() vector deviation, angle; - vector sw_color = getcsqcplayercolor(self.sv_entnum - 1); // GetTeamRGB(GetPlayerColor(self.sv_entnum)); + vector sw_color = getcsqcplayercolor(self.sv_entnum); // GetTeamRGB(GetPlayerColor(self.sv_entnum)); vector first_min_end, prev_min_end, new_min_end; vector first_max_end, prev_max_end, new_max_end;