]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
also allow joinspeed==0 with jointime>0
authorRudolf Polzer <divverent@alientrap.org>
Thu, 11 Nov 2010 21:56:07 +0000 (22:56 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 11 Nov 2010 21:56:07 +0000 (22:56 +0100)
qcsrc/server/w_crylink.qc

index 702cefc57f5aeec78375b6838c881cdbd96110ed..592582749758a421d6f4826ba1c91cc8ab80a467 100644 (file)
@@ -453,7 +453,7 @@ float w_crylink(float req)
                        {
                                W_Crylink_Attack();
                                weapon_thinkf(WFRAME_FIRE1, cvar("g_balance_crylink_primary_animtime"), w_ready);
-                               if(cvar("g_balance_crylink_primary_joinspeed") != 0)
+                               if(cvar("g_balance_crylink_primary_joinspeed") != 0 || cvar("g_balance_crylink_primary_jointime") != 0)
                                        self.crylink_waitrelease = 1;
                        }
                }
@@ -464,7 +464,7 @@ float w_crylink(float req)
                        {
                                W_Crylink_Attack2();
                                weapon_thinkf(WFRAME_FIRE2, cvar("g_balance_crylink_secondary_animtime"), w_ready);
-                               if(cvar("g_balance_crylink_secondary_joinspeed") != 0)
+                               if(cvar("g_balance_crylink_secondary_joinspeed") != 0 || cvar("g_balance_crylink_secondary_jointime") != 0)
                                        self.crylink_waitrelease = 2;
                        }
                }