]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/throwing.qc
legacy networking: bring glowmod back, accidentally it
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / throwing.qc
index e36825e4825c5100176e1a241e265bbd7c1339e5..df0f7b691f26769573ae87a7b2753df6b82df93f 100644 (file)
@@ -78,7 +78,7 @@ string W_ThrowNewWeapon(entity own, float wpn, float doreduce, vector org, vecto
        weapon_defaultspawnfunc(wep, info);
        if(startitem_failed)
                return string_null;
-       wep.glowmod = own.weaponentity_glowmod;
+       wep.glowmod = weaponentity_glowmod(wep, own.clientcolors);
        wep.think = thrown_wep_think;
        wep.savenextthink = wep.nextthink;
        wep.nextthink = min(wep.nextthink, time + 0.5);