]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make TimePath happy
authorMario <zacjardine@y7mail.com>
Fri, 21 Aug 2015 05:50:15 +0000 (15:50 +1000)
committerMario <zacjardine@y7mail.com>
Fri, 21 Aug 2015 05:50:15 +0000 (15:50 +1000)
qcsrc/common/effects.qc

index cddfd60e5d2b73235f7e5fa17c45ffbe812c9c09..81dbd704fd328cda3fe65900809d553c8f2c274c 100644 (file)
@@ -39,10 +39,12 @@ void Read_Effect(bool is_new)
                eff_cnt = ReadByte();
 
        if(is_new)
-       if(eff_trail)
-               WarpZone_TrailParticles(world, particleeffectnum(eff.eent_eff_name), v, vel);
-       else
-               pointparticles(particleeffectnum(eff.eent_eff_name), v, vel, eff_cnt);
+       {
+               if(eff_trail)
+                       WarpZone_TrailParticles(world, particleeffectnum(eff.eent_eff_name), v, vel);
+               else
+                       pointparticles(particleeffectnum(eff.eent_eff_name), v, vel, eff_cnt);
+       }
 }
 #endif