]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Clean up some inconsistent whitespacing
authorMario <mario.mario@y7mail.com>
Wed, 14 Sep 2022 04:44:00 +0000 (14:44 +1000)
committerMario <mario.mario@y7mail.com>
Wed, 14 Sep 2022 04:44:00 +0000 (14:44 +1000)
qcsrc/common/weapons/weapon/electro.qc

index a68ad35bd9fcf203a3d093d3c119fa68bd993a45..dd272d274b86f5f3b5928851f64c087f95ddf567 100644 (file)
@@ -670,16 +670,16 @@ METHOD(Electro, wr_impacteffect, void(entity thiswep, entity actor))
     }
     else
     {
-       if(w_deathtype & HITTYPE_SPLASH)
-       {
-               org2 = w_org + w_backoff * 2;
-               if(particleeffectnum(EFFECT_ELECTRO_COMBO_LONG) >= 0)
-               pointparticles(EFFECT_ELECTRO_COMBO_LONG, org2, '0 0 0', 1);
-               else
-               pointparticles(EFFECT_HOOK_EXPLODE, org2, '0 0 0', 1);
+        if(w_deathtype & HITTYPE_SPLASH)
+        {
+            org2 = w_org + w_backoff * 2;
+            if(particleeffectnum(EFFECT_ELECTRO_COMBO_LONG) >= 0)
+                pointparticles(EFFECT_ELECTRO_COMBO_LONG, org2, '0 0 0', 1);
+            else
+                pointparticles(EFFECT_HOOK_EXPLODE, org2, '0 0 0', 1);
             if(!w_issilent)
                 sound(actor, CH_SHOTS, SND_ELECTRO_IMPACT_COMBO, VOL_BASE, ATTEN_NORM);
-       }
+        }
         else if(w_deathtype & HITTYPE_BOUNCE)
         {
             // this is sent as "primary (w_deathtype & HITTYPE_BOUNCE)" to distinguish it from (w_deathtype & HITTYPE_SECONDARY) bounced balls