From a0ffa60b7c6d4406b30c97db2de8469fdc54f350 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 11 Mar 2018 12:53:35 +1000 Subject: [PATCH] Default nade alpha to 1 (fixes client projectiles) --- qcsrc/common/mutators/mutator/nades/nades.qh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.39.2