From: Mario Date: Fri, 21 Aug 2015 05:50:15 +0000 (+1000) Subject: Make TimePath happy X-Git-Tag: xonotic-v0.8.2~2065^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=09cab06ab8b1c794b370962c2d60e17c8d00b7e9;p=xonotic%2Fxonotic-data.pk3dir.git Make TimePath happy --- diff --git a/qcsrc/common/effects.qc b/qcsrc/common/effects.qc index cddfd60e5..81dbd704f 100644 --- a/qcsrc/common/effects.qc +++ b/qcsrc/common/effects.qc @@ -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