]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Default nade alpha to 1 (fixes client projectiles)
authorMario <mario@smbclan.net>
Sun, 11 Mar 2018 02:53:35 +0000 (12:53 +1000)
committerMario <mario@smbclan.net>
Sun, 11 Mar 2018 02:53:58 +0000 (12:53 +1000)
qcsrc/common/mutators/mutator/nades/nades.qh

index 6f98840c175586e8fde655be6e923713f7dd6690..e109fa7a35ddbddab0f90e18357a8a72daccbc30 100644 (file)
@@ -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)) {