From: Rudolf Polzer <divverent@alientrap.org>
Date: Tue, 29 Nov 2011 14:27:25 +0000 (-0800)
Subject: legacy networking: bring glowmod back, accidentally it
X-Git-Tag: xonotic-v0.6.0~74^2~100^2~39
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1a2fb5bb1187437cb98c4e4803c97774647369fd;p=xonotic%2Fxonotic-data.pk3dir.git

legacy networking: bring glowmod back, accidentally it
---

diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc
index 8c6b5db625..2386c3ca9b 100644
--- a/qcsrc/server/cl_client.qc
+++ b/qcsrc/server/cl_client.qc
@@ -2717,6 +2717,10 @@ void PlayerPreThink (void)
 
 		if(frametime)
 		{
+#ifndef NO_LEGACY_NETWORKING
+			self.glowmod = colormapPaletteColor(self.clientcolors & 0x0F, TRUE) * 2;
+#endif
+
 			if(self.weapon == WEP_NEX && autocvar_g_balance_nex_charge)
 			{
 				self.weaponentity_glowmod_x = autocvar_g_weapon_charge_colormod_hdrmultiplier * autocvar_g_weapon_charge_colormod_red_half * min(1, self.nex_charge / autocvar_g_balance_nex_charge_animlimit);