]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
legacy networking: bring glowmod back, accidentally it
authorRudolf Polzer <divverent@alientrap.org>
Tue, 29 Nov 2011 14:27:25 +0000 (06:27 -0800)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 29 Nov 2011 14:27:25 +0000 (06:27 -0800)
qcsrc/server/cl_client.qc

index 8c6b5db62592a42eab93c89e0f2993e6b148fc2e..2386c3ca9b407a04ac21c6e7c7c6448d8b726b39 100644 (file)
@@ -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);