From: Mario Date: Sun, 11 Mar 2018 02:53:35 +0000 (+1000) Subject: Default nade alpha to 1 (fixes client projectiles) X-Git-Tag: xonotic-v0.8.5~2237 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a0ffa60b7c6d4406b30c97db2de8469fdc54f350;p=xonotic%2Fxonotic-data.pk3dir.git Default nade alpha to 1 (fixes client projectiles) --- diff --git a/qcsrc/common/mutators/mutator/nades/nades.qh b/qcsrc/common/mutators/mutator/nades/nades.qh index 6f98840c1..e109fa7a3 100644 --- a/qcsrc/common/mutators/mutator/nades/nades.qh +++ b/qcsrc/common/mutators/mutator/nades/nades.qh @@ -33,7 +33,7 @@ CLASS(Nade, Object) ATTRIB(Nade, m_color, vector, '0 0 0'); ATTRIB(Nade, m_name, string, _("Grenade")); ATTRIB(Nade, m_icon, string, "nade_normal"); - ATTRIB(Nade, m_alpha, float, 0); // 0 is actually the same as 1 + ATTRIB(Nade, m_alpha, float, 1); ATTRIBARRAY(Nade, m_projectile, int, 2); ATTRIBARRAY(Nade, m_trail, entity, 2); METHOD(Nade, display, void(entity this, void(string name, string icon) returns)) {